title: Create JSON File in local folder
body: <p>I am working on Windows 8 App, and here my aim is to create a json file with a name and appropriate location in the app from database. And finally, I am using that json file to link to telerik chart and populate data. </p>
  
  <p>In the code snippet below, "GetAutomationPageStaticGroups" is a function in my controller that will retrieve json file.</p>
  
  <pre><code>function createJsonFile() {
          WinJS.xhr({
              url: apiUrl + "GetAutomationPageStaticGroups"
          })
  };
  </code></pre>
  
  <p>My query is that how to modify above snippet to store that json file with a proper name and at appropriate location within application?</p>