Implement --config option for reading config files.