I would like to write a method similar to the following
def appendFile(fileName: String, line: String) = {
}
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.