Write input lines to multiple files, randomly selecting an output file for each line.
See Implementation
Write input lines to multiple files, randomly selecting an output file for each line.