free config_file, correct return value