Iterate over all output files.

def constant_outfile_iterator(outfiles, infiles, arggroups):
    """Iterate over all output files."""
    assert len(infiles) == 1
    assert len(arggroups) == 1

    return ((outfile, infiles[0], arggroups[0]) for outfile in outfiles)