title: What is the alternative to deprecated the FileUtils.writeStringToFile method?
body: <p>I need to write a content to file in a single statement something like  <code>FileUtils.writeStringToFile</code>.</p>
  <p>Is there any alternative to it since it is deprecated?</p>