this will require quire a bit of hand coding to accomplish and goes beyond what we can offer support for here in the forums.
you would need to hand code a loop through the cart to create the file fields, and also a loop to create a file upload behavior for each file field that is added.
We can help to implement this functionality in a premiere support appointment though.