title: Read from file.Plist Returns Null
body: <p>Program that Creates multiple Plist's Paths for Different information.</p>
  
  <p>But only one path is not working.
  (i think "writeToFile" is the problem)</p>
  
  <p><strong>code:</strong></p>
  
  <pre><code>-(NSString *) createPath:(NSString *)withFileName
  {
     NSArray *paths =NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,
  YES);
     NSString *documentsDirectory = [paths objectAtIndex:0];
     NSString *path = [documentsDirectory stringByAppendingPathComponent:withFileName];
     return path;
  }
  </code></pre>
  
  <p><strong>Path</strong></p>
  
  <pre><code>NSLog = /var/mobile/Applications/02CABC0A-6B5B-4097-A9D1-4336BE8230B7/Documents/MessagesDB.plist
  </code></pre>
  
  <p>&amp;</p>
  
  <pre><code>-(void) messagesDbFlush
  {
      // save it to the file for persistency
      NSString *messagesDB_Path = [self createPath:_fileMessagesDB];
      [_messagesDB writeToFile:messagesDB_Path atomically:YES];
      NSMutableArray *ReturnsInfo = [[NSMutableArray alloc ]initWithContentsOfFile:messagesDB_Path];
      NSLog(@"ReturnsInfo is : %@", ReturnsInfo);
  }
  </code></pre>
  
  <p>"ReturnsInfo" Array is Null :/</p>
  
  <p>Anyone please help?</p>