title: Save a JSON file to server in express (node)
body: <p>Having this function in express that writes a JSON file on a folder</p>
  
  <pre><code>var savingtheJson=function(path, jsonObject, callback){
    jsonfile.writeFile(file2, jsonO, callback);
  }
  </code></pre>
  
  <p>I will like to know how can I access/read this file from the browser once is saved.</p>
  
  <p>If I do this:</p>
  
  <pre><code>savingtheJson('/json/myfile.json', jsonObj, function(){
              console.log("done it!");
          });
  </code></pre>
  
  <p>When I go to the browser and I type:</p>
  
  <pre><code>http://localhost:8080/json/myfile.json
  </code></pre>
  
  <p>Of course I get an error from express "Cannot Get ...." cause I think is trying to resolve it like an specific request</p>
  
  <p>How can I store this file into the static folder declared for this goal 
  (<code>app.use(express.static(__dirname + '/public')</code>)?</p>
  
  <p>How can I access this file once is saved?</p>