clean up directory structure.