Lua file I/O

Hi all,
how to save and read file by using lua? just use CCFileUtils?
I try to add file operation to my game, so any advice will be a lot of helps
:slight_smile:

use io module.

http://www.lua.org/manual/5.1/manual.html#pdf-io.open