If you know what directory you're looking in, you can use ListFiles to get all the files in that directory, then use the Random class to randomly pick a file from that list.