code: def __parse_database_accessions():
      '''Gets and parses file'''
      filename = get_file('database_accession.tsv')
  
      with io.open(filename, 'r', encoding='cp1252') as textfile:
          next(textfile)
  
          for line in textfile:
              tokens = line.strip().split('\t')
              chebi_id = int(tokens[1])
  
              if chebi_id not in __DATABASE_ACCESSIONS:
                  __DATABASE_ACCESSIONS[chebi_id] = []
  
              # Append DatabaseAccession:
              dat_acc = DatabaseAccession(tokens[3], tokens[4], tokens[2])
  
              __DATABASE_ACCESSIONS[chebi_id].append(dat_accf __parse_database_accessions():
      '''Gets and parses file'''
      filename = get_file('database_accession.tsv')
  
      with io.open(filename, 'r', encoding='cp1252') as textfile:
          next(textfile)
  
          for line in textfile:
              tokens = line.strip().split('\t')
              chebi_id = int(tokens[1])
  
              if chebi_id not in __DATABASE_ACCESSIONS:
                  __DATABASE_ACCESSIONS[chebi_id] = []
  
              # Append DatabaseAccession:
              dat_acc = DatabaseAccession(tokens[3], tokens[4], tokens[2])
  
              __DATABASE_ACCESSIONS[chebi_id].append(dat_acc)
docs: Gets and parses file