A terrible terrible sqlite database reader I made one afternoon.