Fixed issue with file upload.