Ensure Scanner reads until the end of file