rearrange the folder structures.