For consistency with the existing writer.
Note this makes use of input and output files in the tests/ dir.