def LoadInput(input_file, input_version, base_data):
  """Load the input file generated by quality_regression_main."""
  output = []
  with open(input_file, encoding='utf-8') as file:
    for line in file:
      line = line.strip('\n')
      if line.startswith('#'):
        output.append(line)
        continue
      items = line.split('\t')
      result = '\t'.join(items[0:5])  # status, input, output, command, argument
      version = base_data.get(result, input_version)
      output.append(result + '\t' + version)
  return output