Getting the path to the .ipf file containing the currently-running function?

Folks,

Is there a way to get the absolute path of the .ipf file containing the currently-running function? I'd like to do this because I have an image file that I need to access with LoadPICT, and I know that it is in the same directory as the .ipf file containing the function that accesses it, but I don't know where the user might have installed this directory.

Thanks for any help you can lend,
Adam