check for yaml file