if ( !baseDir.isDirectory() ) {
throw new IllegalArgumentException( "Base dir is not a directory" );
}
StructureTreeWalker walker = new BreadthFirstStructureTreeWalker();
walker.walk( root, new StructureTreeWalker.WalkerCallBack() {
@Override
public void nodeReached( @NotNull StructPart node, int level ) {
Path path = Path.buildPath( node ); //pop the root
if ( !rootVisible ) {
path = path.popped();