code: func (G *global_data) AddFile(filename string) *global_data {
  	file, err := os.Open(filename)
  	if err != nil {
  		G.AddError("Global", err.Error())
  		fmt.Println("Error adding file to global")
  	} else {
  		fileField := request.FileField{"file", filename, file}
  		G.Req.Files = append(G.Req.Files, fileField)
  	}
  	return G
  }
docs: // Add a file to the Gorm data for the coming request