`isfile(path) is not True` to `not isfile(path)`  although also see note above about possible use of `isfile` to `exists`