hello, i have a simple script right here that i will later use to recover recipes after a boot However the file i am editing never has any changes occur to it. no errors. I am pointing to the correct file (file:read returns what i edit in)
local serialutil = require("serialization")
local term = require("term")
local fs = require("filesystem")
file = fs.open("/data/recipes.txt",w)
local a = serialutil.serialize("words, letters, phrases")
file:write(a)
file:close()