File upload for each item in the cart

Hello All,

How can I go about dynamically having file upload fields based on items in the cart?

Assuming customer adding 2 items to the cart: Item 1, Item 2 → on checkout to have a form for each of the items to upload a file, one for Item 1 and one for Item 2.

Thank you in advanced,