Initialize YAML file automatically.