PHP 5 command-line file parsing application