title: Electron won't open file from JSON
body: <p>I'm trying to use the onclick='shell.openItem('filename') with the filename being populated by JSON.  When I console.log(data[i].url) it returns the correct kmz file for each button, but when I click on the button it says Uncaught Reference Error: filename.kmz is not defined.</p>
  
  <p>Thoughts on what I'm missing?  Thanks.</p>
  
  <pre><code>var portsbtn = document.getElementById("portsbtn");
  
  portsbtn.addEventListener("click", function() {
      var ourRequest = new XMLHttpRequest();
      ourRequest.open('GET', 'jsonclean.json');
      ourRequest.onload = function() {
          var ourData = JSON.parse(ourRequest.responseText);
          renderHTML(ourData[23]);
      };
      ourRequest.send();
  });
  
  //WRITE HTML FROM JSON ON BUTTON CLICK
  
  
  function renderHTML(data) {
      var htmlString = "";
      $('#aceCategory').empty();
      for (i = 0; i &lt; data.length; i++) {
  
          htmlString += "&lt;p class='categoryName'&gt;" + data[i].category + "&lt;/p&gt;" + "&lt;tr&gt;" + "&lt;td class='feedDesc'&gt;" + "&lt;b&gt;" + data[i].name +
              "&lt;/b&gt;" + "&lt;br&gt;" + data[i].desc + "&lt;/br&gt;" + "&lt;br&gt;" + "&lt;input type='button' id='openBtn' style='border-radius: 25px; outline: none' value='Open Link' onclick='shell.openItem(" + data[i].url + ");'" + "&gt;" + "&lt;/td&gt;" +
              "&lt;/tr&gt;"
          console.log(data[i].url)
      };
      aceFeedTable.insertAdjacentHTML('beforeend', htmlString)
  
  }
  </code></pre>