title: Appending Text to File Windows store Apps (windows RT)
body: <p>I am looking for a way to append strings-text to a file in a Windows Store App. I have tried reading the file and then creating a new one to overwrite it but Windows Store Apps C# does not work like C where when creating a new file with the same name overwrites the old one. Currently my code is opening the old file, reading it's contents, deleting it and creating a new one with the content I read plus the content I wish to append. 
  I know there is a better way but I cannot seem to find it. So How may I append text to an already existent file in a Windows Store App (Windows RT)?</p>
  
  <p>EDIT--</p>
  
  <p>I tried this </p>
  
  <pre><code>var folder = Windows.ApplicationModel.Package.Current.InstalledLocation;
  var file = await folder.GetFileAsync("feedlist.txt");
  await Windows.Storage.FileIO.AppendTextAsync(file, s);
  </code></pre>
  
  <p>but I keep getting <code>System.UnauthorizedAccessException</code>
  according to MSDN this happens when the file is readonly (I checked with right click properties, it's not) and if I do not have the necessary privileges to access the file
  what should I do?</p>