Utility for mapping and checking directory hierarchies
