file.print("init.lua")
currently I use:
-- print the content of a file
-- Use as : printfile("name_of_file")
printfile = function (name)
file.open(name)
repeat
line=file.readline()
if line then line=(string.gsub(line,"\n","")) print(line) end
until not line
file.close()
end