Here is a dataSaver module for Gideros Mobile, that allows you to save and load files or separate app properties in the document directory of Gideros mobile.
This module requires json module, which you can get from https://github.com/ar2rsawseen/Json
--Save key pair values
local somevalue = 42
dataSaver.saveValue("|D|somevalue", somevalue)
--Retrieve saved key pair values
local somevalue = dataSaver.loadValue("|D|somevalue")
-- Save tables
local mydata = {}
mydata.somestring = "mystring"
mydata.somevalue = 42
dataSaver.save("|D|mydata", mydata)
--Retrieve saved tables:
local mydata = dataSaver.load("|D|mydata")