added check that config file exists
added check that config file exists

before processing the config file in the constructor, make sure the file
exists and if it does not, throw an exception.

SmetDenis/config,hassankhan/config,huang53798584/config