-- Check for file function filecheck_init() -- determine style folder we are in file = io.open("filetester.txt", "r") if file ~= nil then io.input(file) io.close(file) Prompt("File WAS Found. ") ActivateIfUsed(e) Hide(e) Destroy(e) else Prompt("File NOT Found. ") --ActivateIfUsed(e) --Hide(e) --Destroy(e) end end