links isDir, isExists, isFile to each other