Callback function to CRM resulting in multiple downloads of the same documents

Callback function to CRM resulting in multiple downloads of the same documents

I was able to successfully create a callback from our CRM by following the instructions shown HERE.

Everything works correctly, however I'm seeing that the document and completion report are downloaded and attached to the CRM record for all signers in the request. This means that both documents are downloaded twice when there are two signers, which is a waste of storage space.

When multiple signers are included in a request, how can we limit the callback to only download and attach one copy of each file?