NestedLocation
Path
File
Refactor `NestedLocation` so that it holds a `Path` rather than a `File`. See gh-37668