isFile, isDir, isSocket added