I would try turning the text file into a .bat file which runs commands to add all the files to a collection.
The commands to do it are discussed here:
[Is DOpus right for me?:: user-generated collection xml)
I'd make the first line work by hand and then use a text editor which lets you record/playback macros to convert all the other lines. (e.g. UltraEdit, TextPad, etc.)