title: How to read file (Metro/WinRT)
body: <p>I'm quite astounded by the apparent complexity of this seemingly simple task. I know that I have to use the <code>StorageFile</code> class, and I've found this <a href="http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj150593.aspx" rel="noreferrer">example</a>, but I just want to read one single file, to which I know the path, and read it's data as text into a string.</p>
  
  <p>From what I've been able to gather, to read a file with <code>StorageFile</code>, I have to go through a bunch of interfaces; <code>IAsyncOperation&lt;StorageFile&gt;</code> and <code>IAsyncOperationCompletedHandler</code>.</p>
  
  <p>There must be a better (simpler) way. Something like:</p>
  
  <pre><code>using (StorageFile sf = StorageFile.OpenAsync("myFile.txt"))
  {
      string line = sf.ReadLine();
  }
  </code></pre>
  
  <p>Obviously this doesn't work, but maybe I've missed something, or someone could explain to me how to read a file in a different way?</p>