Because you create the files in the app, you can write them to a table while the app is running and write on exit to a file, or write to file as they are created, using “a” with the file write so as to append the file and not overwrite the last entry
then read the file holding the filenames and run through it
files = system.pathForFile( “filenames.txt”, system.DocumentsDirectory )
fnames = {}
– read the filenames into fnames
for line in io.lines(files) do–iterate through table
table.insert(fnames, line)–insert each line of file into table
print("filename ", line)
end
[import]uid: 2131 topic_id: 6997 reply_id: 24510[/import]