I believe there is a typo in the javadoc here... http://download.oracle.com/javase/7/docs/api/java/nio/file/Files.html The typo being... direcregular filetory Although I might not mind working with a filetory sometime, it took me a little thought to be sure this wasn't some new jargon I wasn't familiar with.