How to allocate different digital files into variants?

Hello! I asked this via Twitter yesterday but thought I’d come here for some help, too.

Is there a way I can allocate different digital files to one product, based on the variant they select? I understand I attached my digital file with the data-item-file-guid but I have scoured the documentation and cannot find where I can set different GUID codes to different variants.

Will I basically need to make multiple products and have multiple buttons on my website per variant?

TYIA for anyone responding!