Added validation for config parameter in configuration file.