check if yaml file exists