[powerdebug 07/23] tree structure abstraction for directory hierarchies