replace exits with existsSync