in reply to slurping styles
Thus the second form is recommend (better even with a lexical variable as the file handle).