title: How to read an xml file directly to get an XElement value?
body: <p>Right now I am using:</p>
  
  <pre><code>XElement xe = XElement.ReadFrom
  </code></pre>
  
  <p>which requires an <code>XmlReader</code>:</p>
  
  <pre><code>XmlReader reader = XmlTextReader.Create
  </code></pre>
  
  <p>which requires a string, and that requires me to pass a <code>StringReader</code>:</p>
  
  <pre><code>new StringReader
  </code></pre>
  
  <p>which requires a <code>TextReader/StreamReader</code> to finally be able to pass the file path to it:</p>
  
  <pre><code>TextReader textReader = new StreamReader ( file );
  </code></pre>
  
  <p>Is the simpliest way to do this? I already have code that uses an <code>XElement</code> so it works fine but I want to cut down the number of steps to get the <code>XElement</code> from an xml file. Something like:</p>
  
  <pre><code>XElement xe = XElement.ReadFrom (string file);
  </code></pre>
  
  <p>Any ideas?</p>