reorganize directory tree