I'm not sure how to properly screenshot it but I will try.
Here is the first screenshot with the test flow. It is pretty simple.
In the below screenshot. It runs over several files (On the left). But always just outputs to a single file on the right (All of the data is correct in the file, but it needs to be split up into multiple).
The code to change the output path is pretty simple and I've already tested it works correctly.