def read_config_(self, cfile):
if not cfile.exists():<EOL><INDENT>return {}<EOL><DEDENT>try:<EOL><INDENT>conf_dict = toml.load(str(cfile))<EOL><DEDENT>except toml.TomlDecodeError:<EOL><INDENT>return None<EOL><DEDENT>self.update_(conf_dict)<EOL>return conf_dict<EOL>
Read a config file and set config values accordingly.

        Returns:
            dict: content of config file.