EPDM api vb.net - get filename and path of selected file

I have an add-in that is reading variables off a file card for Solidworks parts and assembly files. This part is working good. But how do I get the filename and path of the the Solidworks files? I need this so I can then read variables from past versions.

Thanks for the help,

Mike

SolidworksApi macros