Get the pathname of the opened iges file

After opening an iges file the active document has an empty pathname because the active document has not yet been saved.

How can I ask the pathname of the iges file opened in the active document?

Thanks

Marco

SolidworksApi macros