title: Python ElementTree.parse() from file does not close the file
body: <p>I have a xml file - kind of template to fill within the parameters and make a request (create some data). </p>
  
  <p>I open this file with</p>
  
  <pre><code>tree = ET.parse(path_to_file)
  </code></pre>
  
  <p>and I make loop to get the xml from file, fill with the parameters and send a request. 
  But after 2555 requests I get an error message:</p>
  
  <pre><code>IOError: [Errno 24] Too many open files: 'resources/cmr/skeletons/man/CreateLiveEvent.xml'
  </code></pre>
  
  <p>Is there a way to close file after ET.parse() opens it?</p>
  
  <p>Thanks</p>