https://arueckauer.github.io/posts/2021/07/testing-legacy-code-filesystem-interaction/
Testing Legacy Code: Filesystem Interaction