fn parent_dir(target: &Path) -> &Path
The directory holding target. A bare relative filename has an empty parent, which names nothing openable.
target