mention istream is closed by the function