We also might want to consider shifting to FakeFS in the future as it could provide better testing for some of these file system operations.