in reply to generating random filenames

your for loop is wrong.

>= should be <=

~Particle