title: Unable to access a file from code with Xcode - ios
body: <p>IOS development...
  I have a json data file named "Data.js" in the same directory where the code file is and is trying access it with the following code...</p>
  
  <pre><code>NSString *filePath = [[NSBundle mainBundle] pathForResource:@"Data" odType:@"js"];
  </code></pre>
  
  <p>but this is returning null.</p>
  
  <p>Any help on this is much appreciated.</p>