is there a reason to return the path as a `String` and not as a `Pathname`?