Test for end of file