generates the yaml.file.