Added a random seed to tmp file