code: def __parse_inchi():
      '''Gets and parses file'''
      filename = get_file('chebiId_inchi.tsv')
  
      with io.open(filename, 'r', encoding='cp1252') as textfile:
          next(textfile)
  
          for line in textfile:
              tokens = line.strip().split('\t')
              __INCHIS[int(tokens[0])] = tokens[1f __parse_inchi():
      '''Gets and parses file'''
      filename = get_file('chebiId_inchi.tsv')
  
      with io.open(filename, 'r', encoding='cp1252') as textfile:
          next(textfile)
  
          for line in textfile:
              tokens = line.strip().split('\t')
              __INCHIS[int(tokens[0])] = tokens[1]
docs: Gets and parses file