title: Java: Path vs File
body: <p>For new applications written in Java 7, is there any reason to use a <a href="http://download.oracle.com/javase/7/docs/api/java/io/File.html" rel="noreferrer"><code>java.io.File</code></a> object any more or can we consider it deprecated? </p>
  
  <p>I believe a <a href="http://download.oracle.com/javase/7/docs/api/java/nio/file/Path.html" rel="noreferrer"><code>java.nio.file.Path</code></a> can do everything a <a href="http://download.oracle.com/javase/7/docs/api/java/io/File.html" rel="noreferrer"><code>java.io.File</code></a> can do and more.</p>