If I understand you correctly, you will want to do this using a web processing language.
I would recommend the most popular language on the web, PHP.
PHP can read the text file, have PHP take the lines that are generated build an array with each line assign a random id, using the random id number place that text randomly into text fields on the web page or multiple web pages.
1. Read the text file
2. Build an Array with the text values.
3. Using the Unique ID of the values in the Array build a random generator of the values.
4. Select a value from the random generator, assign the text to a text area on the web page, insure that the random value has not been previously assigned, build an array with the values that have been assigned.
5. Add the unique ID to the assigned array.
6. Repeat until the text fields array is empty.
It would take a little code and some serious testing to make sure it was operating correctly but it could be done without a lot of difficulty. There are probably 100's of different ways to do this, this is just one quick flow example.