title: StorageContainer.OpenFile access denied (Windows store app)
body: <p>I'm writing a game in XNA for Windows store and I'm trying to load saved game data</p>
  
  <pre><code>//Open file 
  Stream stream = storageContainer.OpenFile( filename, FileMode.Open, FileAccess.Read );
  </code></pre>
  
  <p>Which gives me this error:</p>
  
  <blockquote>
    <p>Additional information: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))</p>
  </blockquote>
  
  <p>Weird thing is that I'm able to write to the location just fine with this:</p>
  
  <pre><code>//Save
  using( Stream stream = storageContainer.CreateFile( filename ) )
  {
      XmlSerializer serializer = new XmlSerializer( typeof( SaveData ) );
      serializer.Serialize( stream, saveData );
  }
  </code></pre>
  
  <p>I went as far as giving "Everyone" full access to appdata folder but that didn't help.</p>
  
  <p>What causes this problem? How do I fix it? Or is there a better way of doing this?</p>