code: func LoadFile(data string) (file *File, err error) {
  	file = &File{}
  	if err = proto.UnmarshalTextML(data, file); err != nil {
  		return
  	}
  	err = file.Normalize()
  	return
  }
docs: // LoadFile loads a File from a string containing the template text protobuf.
  //
  // Expects config.Interface to be in the context already.