title: Creating Files in windows 8 metro
body: <p>I was searching to create xml files in windows 8 metro apps using c#, any link I came across is how to manipulate xml, I could'nt find any thing on how to create a .xml file that will be stored on the harddisk.</p>
  
  <p>I want something like this in metro apps, but Windows.xml doest not provide this.</p>
  
  <pre><code>XmlTextWriter writer = new XmlTextWriter("output.xml", null);
  </code></pre>
  
  <p>What exactly I wanted to ask was to check if file exist when application starts, adn if doesnot exist the handled exception will create a file with xml documentElement.
  How do I do this?</p>