new yaml file saving system