title: How to get a file using WinRT?
body: <p><strong>What I want:</strong><br/>
  get a xml from the AppData to use</p>
  
  <p><strong>What I code</strong><br/></p>
  
  <pre><code>   StorageFolder localFolder = Windows.Storage.ApplicationData.Current.LocalFolder;
     StorageFile sampleFile = localFolder.GetFileAsync("abc.xml");
  </code></pre>
  
  <p><strong>What I get</strong><br/>
  Error: Cannot implicitly convert type 'Windows.Foundation.IAsyncOperation' to 'Windows.Storage.StorageFile'</p>
  
  <p><strong>What I Check</strong><br/></p>
  
  <blockquote>
    <p>When this method completes successfully, it returns a <strong>StorageFile</strong> that
    represents the file.</p>
  </blockquote>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.storage.storagefolder.getfileasync.aspx" rel="nofollow">from MSDN</a></p>
  
  <p><strong>What I have</strong><br/>
  Windows 8 Release Preview 64bit;<br/>
  Visual Studio Express 2012 RC for Windows 8;<br/>
  C#</p>
  
  <p>I write the code according to the MSDN doc, Why does this error happen and how to resolve it?</p>