converted from pickle to yaml save file