Not sure why I hadn't thought of this sooner, but it should definitely be using a Sqlite database instead of just writing files to disk. That's dumb.