Shouldn't this be `os.path.exists`?