rearrange directories and files