File compression Class PHP