PHP File DB class