title: ReferenceError: nlapiLoadFile is not defined error In Netsuite
body: <p>I am trying to run a simple script that loads a json file and gets the contents of the file. However, the first line of the script already sends an error saying that a function from the SuiteScript API is not defined.
  '<strong>ReferenceError: nlapiLoadFile is not defined</strong>' is what I'm getting. </p>
  
  <pre><code>function pageInit(context) {
  
          var File = nlapiLoadFile('/SuiteScripts/jsonfile.json');
          .
          .
          .
          .
          .
     }
  </code></pre>
  
  <p>I'm thinking there might be a problem with my account because I had a similar problem with SuiteScript 2.0 where the entire File module was missing in the API on my account. That is why I'm using 1.0 as shown above. </p>