title: Difference between Files#delete(Path) and File#delete()
body: <p>I'm using Windows-7 with java 7 update 6 and found this weird (at least to me) behavior - <br/>
  I have two files <code>E:\delete1.txt</code> and <code>E:\delete2.txt</code> both are <strong>read only</strong> files, when I try to delete file like following it gets deleted without any issues - </p>
  
  <pre><code>File file = new File("E:\\delete1.txt"); 
  assertTrue(file.delete());
  </code></pre>
  
  <p>But when I delete file using nio API like following - <br/></p>
  
  <pre><code>Path path = Paths.get("E:\\delete2.txt");
  Files.delete(path);
  </code></pre>
  
  <p>It throws <code>java.nio.file.AccessDeniedException</code>. <br/></p>
  
  <p>Why different behavior for same operation with old and new nio API?</p>