title: Do I need to close the file when using YAML::load?
body: <p>like the following line of code</p>
  
  <pre><code>sites = YAML::load(File.open(SITESPATH))
  </code></pre>
  
  <p>is it necessary to change to</p>
  
  <pre><code>File.open(SITESPATH) do |file|
    sites = YAML::load(file)
  end
  </code></pre>
  
  <p>just in order to make it sure that file got closed?</p>