Replace RelPath with simpler boolean Root, refactor