is there way to retreive the file name from this:

Code:
ifstream f ("test.txt");
here, how can i retreive the filename of the opened file?
thanks