Any reason you don't want to use `SafeYAML.load_file`? I think that's a possibility.