title: new File(path) always actually creates a file on android?
body: <p>I am trying to check if a file exits on android sd card...so i do:</p>
  
  <pre><code>File f=new File(sdpath + "/" + DATABASE_NAME); //   
  if(!f.exits()) {
  ...create new file..
  }
  else {
  ...do something...
  }
  </code></pre>
  
  <p>Every time this actually creates the directory or file on the sd card.</p>
  
  <p>I know it doesnt exist, and when the new File is executed it is created and it shouldnt ?</p>
  
  <p>I read all across google that new File doesnt create an actual file on the file system , but in my case it does...</p>
  
  <p>Any alternatives to checking if a File/directory exits without using new File..</p>
  
  <p>Edit 1: Well I'd just like to add (after 4 years :)) that this problem occurred only on two devices at the time i was writing the post and never again, one of them was HTC Desire C with android 4.0 and the other was some Huawei with android 2.x, cant remember anymore.</p>