correction to file.exist