title: iphone NSFilemanager not creating file
body: <p>I'm using NSFileManager to create a file at a specified path with text view contents.
  I'm using following code</p>
  
  <pre><code>[[NSFileManager defaultManager] createFileAtPath:saveFileName contents:[[tView text] dataUsingEncoding:NSASCIIStringEncoding] attributes:nil];
  </code></pre>
  
  <p>But the problem is that, its creating file with no contents. I'm sure that text contents are not nil.
  How can I check and confirm that data is written into file.</p>