Existence of a Root file

When I want to check whether a ROOT file exists, I do:

TFile *f = new TFile(“name_of_file.root”,"READ);
if (f->IsOpen()) …

This works, but has the bad property that when the file does not exists, an
error message is issued:

Error in TFile::TFile: file name_of_file.root does not exist

leaving the impression to the user of the program that something goes wrong, although I was simply checking whether the file exists or not.
Is there a way to enquire about the existence of a ROOT file without issuing a disturbing message?
Thanks a lot.

use gSystem->AccessPathName (or like).
see TSystem class.