Don't allocate a lua_file struct for every file in the folder, only for lua files
Some whitespace fixes