Add parent to file and dir details