check end of file after first reading