rearrange files and directory