renaming files for upload