This gets rid of the path function, and introduces method chaining for the file service, which results in far cleaner code.