compare-metrics should iterate over the file lists correctly