modify the format of config_file