`withCloseable(new BufferedWriter(new FileWriter(configFile)))` ;)