A list of the parts of the path, with the root node returning
        an empty list.

def pathparts(self):
        """A list of the parts of the path, with the root node returning
        an empty list.
        """
        try:
            parts = self.parent.pathparts()
            parts.append(self.name)
            return parts
        except AttributeError:
            return []