we mix in the codebase using the abstraction https://github.com/dotnet/msbuild/tree/main/src/Shared/FileSystem and base class library methods, using filesystems would be preferrable