simple utility to pick a random file in a directory