@peterflynn - right, it's `getDirectoryPath()` I was thinking of, not `getBaseName()`. OK, I'm convinced, adding `parent` sounds like a good idea.