Why the queue is a file and not a loop
A loop is a place that closes. A file is a list that survives, and surviving is what a rerun needs.
The one count that must be in the report
The skipped count. A skipped count is what makes a rerun a claim rather than a guess.