utility module for mirroring directory structure of a source corpus