throw exception if yaml configuration file is not found