Work on using temp files for random contest.