fun File.writeTextWithLogging(text: String, charset: Charset = Charsets.UTF_8): Unit
Print messages about file changes when writing text to it