rescue {} for yaml files