from_config(config_file) -- input is file name