rearrange the file name and location