Extract params from a config file.