File I/O for macrobenchmark is tricky because of scoped storage. I'd suggest a good sample showing I/O patterns.
For providing input data, I ended up using FileProvider but it was non obvious.
Or maybe should be docs?
But it feels like there are problems that are common for real world macrobenchmark usage.