added read_random_file_from_dir