Checking for end of file again