multi-layer directory support