Added handling of config files.