in reply to randomly selecting files
Wouldn't it be better to redefine the requirement that the program only outputs one file, but that it takes an argument to determine which of the permutations it dumps out?
One world, one people