title: resource file is not found when using iPhone simulator
body: <p>I have the following code.  word.txt is in "Supporting Files":</p>
  
  <pre><code>NSString *filePath = [[NSBundle mainBundle] resourcePath];
  filePath = [filePath stringByAppendingPathComponent:@"words.txt"]; 
  NSData *data = [NSData dataWithContentsOfFile:filePath];
  </code></pre>
  
  <p>When I run using the simulator, data is not read properly but if I use the actual device, it works fine.</p>
  
  <p>What is the problem?</p>