Generates tuples of specfile and quant element for general formats

def specfn_quant_generator(specfiles, quantfiles, tag, ignore_tags):
    """Generates tuples of specfile and quant element for general formats"""
    for specfn, qfn in zip(specfiles, quantfiles):
        for quant_el in basereader.generate_xmltags(qfn, tag, ignore_tags):
            yield os.path.basename(specfn), quant_el