Modify directory structure.