Cleaning directory structure.