PHP CLI File parser class