optimization 1 : file renaming