in reply to Re^2: Current file name
in thread Current file name

Don't you get the same set of problems with cwd?
No.