code: def specfn_quant_generator(specfiles, quantfiles, tag, ignore_tags):
      
      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
docs: Generates tuples of specfile and quant element for general formats