Sounds a little bit scary isn\'t it?
Some background information, I want to load a tar archive which contains some lua modules into my C# application using LuaInterface.
In LÖVE they have that working. All Lua files are inside one zip file, and they work, even if ... is used. The library they use is PhysicsFS.
...
Have a look at the source. Probably /modules/filesystem will get you started.