rearrange file hierarchy