path2tree