title: Select a txt file from list then read all data selenium python
body: <p>I want to <code>fcaption</code> will select one file randomly from that list then read all text.
  anybody can help or give references?</p>
  <pre><code>fcaption = open('caption-1.txt','caption-2.txt','caption-3.txt','caption-4.txt',.....) 
  f1 = fcaption.read()
  pyperclip.copy(f1)
  
  caption = pyperclip.paste()
  time.sleep(random.randrange(5,6))
  
  type_caption = driver.find_element_by_css_selector('textarea._ablz._aaeg')
  type_caption.send_keys(caption)
  </code></pre>