Flush per file

This allows us to see the results more quickly when dealing with
multiple files.