Stubbing out the file system (as represented by `File`, `Dir`, and `FileUtils`) is what `FakeFS` is for. It might make your job easier here. And if you don't find any value in it then we should probably remove it from our suite.