Rearrange the folder tree