Maintain directory structure.