This will append the random number to the end of the file - right?
In this case we loose the feature where the scanner is ignoring part files - see line 82