How to attach a file using a card button

I have added a button to my card to browse for a file.

The button works correctly, I can browse to and select the file.

I know need to have it attach "paste as reference" the file set that is already reference.

Basically I need to attach a redline to my ECO.

SolidworksSolidworks Pdm enterprise Pdm