The stapling process returns a single multipage-document referenced by the associated workdoc.
Using the pWorkdoc.DocFileName(x) with an index greater than 0 results in an index-out-of-range error.
To retrieve the original file name of a page, use the pWorkdoc.Pages(x).OriginalDocumentFileName property.