Trustfall seems really promising for querying files as if they were a db
https://github.com/obi1kenobi/trustfall