Good point.
Anyways, I'm going with SQLite. It's really fast[0] and I just found out about recursive selects[1].
[0]: https://www.sqlite.org/fasterthanfs.html
[1]: https://sqlite.org/lang_with.html