add yaml require statement

`config = YAML.load_file f` will cause NameError otherwise