local path = "/.storage/"function create (dataset) fs.makeDir(path..dataset)endfunction set (file, data) if not data then return clear(file) end local fd = fs.open(path..file, "w") fd.writeLine(data) fd.flush() return fd.close()endfunction get (file) local fd = fs.open(path..file, "r") if nil == fd then return nil end local data = fd.readLine() fd.close() return dataendfunction clear (file) return fs.delete(path..file)end