Added File::isDirectory()