docs: def create_tablefn_map(fns, pqdb, poolnames):
      """Stores protein/peptide table names in DB, returns a map with their
      respective DB IDs"""
      poolmap = {name: pid for (name, pid) in pqdb.get_all_poolnames()}
      pqdb.store_table_files([(poolmap[pool], os.path.basename(fn))
                              for fn, pool in zip(fns, poolnames)])
      return pqdb.get_tablefn_map()