Your file name is being interpreted as a command whose output gets piped to grep. You want "grep FREEZING file-name|" not "file-name | grep FREEZING |".
Update: Now that there are code tags in the original post, I see that you're using "cat file-name...", so nevermind (though it is a "useless use of cat").