[PD] Best way to get the name and path of the parent