title: How do I append to a file in Scala?
body: <p>I would like to write a method similar to the following</p>
  
  <pre><code>def appendFile(fileName: String, line: String) = {
  }
  </code></pre>
  
  <p>But I'm not sure how to flesh out the implementation. Another question on here alludes to Scala 2.9 capabilities but I could not find further details.</p>