Made processDir pass the LuaAddon object to processFiles. Processing files loop was made more readable.