Fix input field name for file upload
Fix file permissions