Corrected file upload