Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.

And that's what I did.