Fix file app in production 500 bug.