generate a random file