Move mt_rand to filename