renaming and rearrange files