code: def checkParametersInputFile(filename):
      
      fin = open(filename, 'r')
      line = fin.readline()
      line2 = fin.readline()
      fin.close()
  
      temp = re.split('\s+', line)
      temp2 = re.split('\s+', line2)
  
      if temp[0] == '#Minor':
          return groovesParameters
  
      if temp[0] == '#Shift':
          return baseStepParameters
  
      if temp[0] == '#X-disp':
          return helicalBaseStepParameters
  
      if temp[0] == '#Shear':
          return basePairParameters
  
      if temp[0] == '#Position':
          return helicalAxisParameters
  
      if temp2[0] == '#P':
          return helicalRadiusParameters
  
      if temp2[0] == '#alpha':
          return backboneDihedrals
docs: Check the do_x3dna output file and return list of parameters present in the file.