Reorganize directory.