Ok. I can relate to this scenario. We have a product that has a batch upload feature built into it.
This batch upload feature takes an XML (file or stream) and then writes records to the database.

The way this works is that the feature takes a stream and writes to a file and places it in a folder. Then it queues one file after the other. At the end of each successful write, it moves the file from that folder into another folder. So if you have a crash or restart or anything like that, it will pick up from where it left.

You could configure the upload feature and set to to Auto or Manual. Auto will automatically pick up from where it left. In case of Manual, the user has to actually hit the submit button to resubmit the files in that folder.