yaml file to spec file