title: How to get data from file in the same folder as a JS variable in a background page?
body: <p>So my question is this: i have a box.html that contains some <code>&lt;div&gt;</code>s. It is way too big to be stored as a string in the background script. It would be very inconvenient to change anything in the html if it was stored as just a string variable. </p>
  
  <p>What I can't figure out is how to access that file from background.js so that all of the html is then stored in a variable like <code>var box = "some html"</code></p>
  
  <p>So that when I have that variable I can then pass it on to a content script when I need it.</p>
  
  <p>I know that <code>chrome.extension.getURL('box.html');</code> gets the path to the file I need, but how do I load the file?</p>
  
  <p>in Firefox this is simply done with: <code>self.data.load('box.html');</code> in the main.js 
  so is there a similar call for google chrome?</p>