rearrange the file structure