title: stringWithContentsOfFile and initWithContentsOfFile return null after several runs
body: <p>I am creating an iOS app which reads in a text file and displays the contents in a UIText field.</p>
  
  <p>For the 1st three consecutive runs of thee app (Restarting a new session  without exiting),
  the data is read in fine. However on the fourth attempt, the data returned from the file is all nulls.</p>
  
  <p>I've verified the file integrity. The issue exists when using stringWithContentsOfFile or <code>initWithContentsOfFile</code>.</p>
  
  <p>After many hours of troubleshooting, I believe the issue is somehow related to a buffer being cleared within the above mentioned methods.</p>
  
  <p>Any insight regarding this issue is greatly appreciated. I've tried many things with no luck.</p>
  
  <p>Here's the code I use to read in the file:</p>
  
  <pre><code>TheString = [NSString stringWithContentsOfFile:[[NSBundle mainBundle]     
  pathForResource:@"My_TextFile" ofType:@"txt"] encoding:NSUTF8StringEncoding error:NULL];
  </code></pre>
  
  <p>Here's the code I use to display certain contents of the file (The contents are placed in an array of type NSArray):</p>
  
  <pre><code>NSArray *My_Array;
  
  My_Array= [TheString componentsSeparatedByString:@"\n"];
  
  /* Obtain specific data to display */
      DisplayedData = [My_Array objectAtIndex:M[l]-1];
  :
  :
  /* Display the data in the view */
      MyUITextView.text = DisplayedData;
  
  /* Log the data */
      NSLog(@"%@", MyUITextView.text);
  </code></pre>
  
  <p>On the 4th invocation of the code above, the data returned is blank and NSLOG is returning nulls</p>
  
  <p>Thanks so much for any help!</p>