Get a random file from the specified directory.