title: Parsing xml file using nltk.corpus and ElementTree
body: <p>I am trying to parse through 'dream.xml' from nltk.corpus shakespeare, using elementtree.</p>
  <p>This is my code:</p>
  <pre><code>from nltk.corpus import shakespeare
  from xml.etree import ElementTree as ET
  
  dream = shakespeare.xml('dream.xml')
  
  tree = ET.parse(dream)
  </code></pre>
  <p>This is the error message I get:</p>
  <pre><code>TypeError: expected str, bytes or os.PathLike object, not Element
  </code></pre>