Normalizing directory structure.