Renaming files to sync correctly