not really an issue here, but just wanted to make sure you're aware of the swift proposal to add file handling in to the system library.
I'm sure they could learn a lot from the Path.swift's experience
https://forums.swift.org/t/api-review-filepath-syntactic-apis/43765/23