Why does file.exists() fail?
<p>I checked and even printed out the path, the path exists,yet it cant find the file . I tried the code on local and it worked, not sure what is the cause though(in java)</p>

<pre><code>filepath="C:/FolderA/test.html";
File f1=new File(filepath)
if(!f1.exists()){

System.out.println("File does not exist");
}
</code></pre>
