local path = "MyFile.txt" local stream = FileSystem:OpenFile(path) if (stream) then stream:WriteLine("Hello!") stream:Release() endstream = FileSystem:ReadFile(path) if (stream) then System:Print(stream:ReadLine()) stream:Release() end