Changes in the file upload for optimization