if (fs.existsSync(configFile)) kills two birds with one stone in these cases.