Changes on file upload