modify file upload