php flat file db - sort of