Fixed the parameters for file uploads.