Add configuration file support.