def METHOD_NAME(fpath, db, template):
  with open(fpath, 'r') as fid:
    for line in fid:
      append_entry(db, template)
      elm = line.split()
      # [token]: lanes vsize sew cycles
      assert len(elm) == 5
      db[-1] = {
        'kernel' : elm[0][1:-2],
        'lanes'  : int(elm[1]),
        'vsize'  : int(elm[2]),
        'sew'    : int(elm[3]),
        'cycles' : int(elm[4]),
      }