"is a directory" -> "is not a directory"
Various fixes