Why reset the file at all? Can't you continue reading from the place where you stopped?