Fixed the file upload