commits the file content
// Commit the file contents // Flushes memory to disk err = newFile.Sync() if err != nil { log.Fatal(err) }