Is it possible to read the current document file name into a variable, and then use this variable in a link?

Thanks a lot.