title: fileExistsAtPath API always return NO
body: <p>Following is my code I need check whether file present in document directory ,But following API does not return true at any condition but file is get created in document directory. Please check any thing wrong I am doing. I have searched on this other says this API  "fileExistsAtPath" should work but it is not working in my case. Please do help me. </p>
  
  <pre><code>NSString *recordFile=[NSString stringWithFormat:@"MyFile.acc",data.uid];
  
  NSArray *documentPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
                                            NSUserDomainMask, YES);
  NSString *documentDr = [documentPaths objectAtIndex:0];     // WHY 0 ?
  NSString *uniquePath = [documentDr stringByAppendingPathComponent:recordFile];
  
  if([[NSFileManager defaultManager] fileExistsAtPath: uniquePath])
  {
  
      NSLog(@"File found")
  
  }
  else {
      NSLog(@"No File to play");
  }
  </code></pre>
  
  <p>Thanks,
  Sony</p>