handle YAML.load_file returning --- string