This is an array of arrays, right?  So we can do `duplicate_edition_results.each do |(id, filename, _)|`, although looking at the SQL I'm not sure where the third parameter is coming from, so could it not be ` duplicate_edition_results.each do |(id, filename)|`?