'Initialize the config with values from a file'

def __init__(self, config_file):

    self._config_file = config_file
    self._config = ConfigObj(self._config_file, encoding='utf-8')
    for key in _CONFIG_DEFINITIONS.keys():
        self.check_setting(key)
    self._upgrade()
    self._blacklist()
