Could we use this? 
http://keplerproject.github.io/luafilesystem/manual.html