Added support to configuration file.