code: def parse(self):
          
  
          if exists(self.filepath):
              content = open(self.filepath).read().decode(charset)
          else:
              content = ""
  
          try:
              config = toml.loads(content)
          except toml.TomlSyntaxError:
              raise ConfigSyntaxError
  
          return config
docs: parse config, return a dict