throw exception if config file does not exist