Get file references

Is there a way in the API to generate a list of filereferences like the one generated when a file is selected in the"open" dialog box, but rather than opening the document, clickingon the "References..." button? I don't want to open the document tohave to find these references, but I need these references to becaptured (in API), as I want to make sure all referenced files areaccessible before I attempt to vault my documents into a PDM. Iintend to run the code on anything in a directory, and then anyfiles referenced, and again, until I have gone to the lowest level.I can do the recursive stuff, its pulling the reference informationout of the file without opening the file that has mestumped.SolidworksApi macros