> My understanding was that Lua closed files at program end time. Yes, because C closes all open files when a program ends normally. However, it's recommended that you close all files yourself to guard against crashes or bad compilers.