Add a feature to query subfolders (or path prefix)

I think this should work. I haven't written tests for now.

Let me know what you think.

Regards,
Suhas