@classmethod
def from_config_file(cls, config_file):
    with open(config_file, encoding='utf-8') as fi:
        config = json.load(fi)
        return cls.from_config(config)
@classmethod
def from_config_file(cls, config_file):
    with open(config_file, encoding='utf-8') as fi:
        config = json.load(fi)
        return cls.from_config(config)