a random hat drawing from a text file