`File.isFile()` returns `true` for symlinks which point to files.

```
$ touch testfile
$ ln -s testfile testlink
$ scala
scala> new java.io.File("testlink").isFile()
res0: Boolean = true
```

Additionally, since the docs aren't 100% clear and I couldn't find a solid answer from Google, I checked both the [UnixFileSystem](http://code.metager.de/source/xref/openjdk/jdk8/jdk/src/solaris/native/java/io/UnixFileSystem_md.c#111) and [WindowsFileSystem](http://code.metager.de/source/xref/openjdk/jdk6/jdk/src/windows/native/java/io/Win32FileSystem_md.c#150). The former uses `stat` which resolves symbolic links. The latter will set isFile to true if and only if it is not a directory, so symlinks would be included.