To elaborate, so you know what, specifically, you can lobby for, base Lua doesn't support getting directory contents natively, so something would have to be patched in to get C to do the lifting.
That feature would be useful for a lot of things, really, so it's worth lobbying for.