Added error messages for input file (-f) and stream (< or |) combinations
Out-commented when both are provided so that it works when called from PHP