Treepath takes an array of pathnames and gives you back an object representation of that path hierarchy.