modify file upload module