added ability to read config files