title: Does scala offer async non-blocking IO when working with files?
body: <p>I am using scala 2.10 and I wonder If there is some package which has async IO when working with files?</p>
  
  <p>I did some search o this topic but mostly found examples as following</p>
  
  <pre><code>val file = new File(canonicalFilename)
  val bw = new BufferedWriter(new FileWriter(file))
  bw.write(text)
  bw.close()
  </code></pre>
  
  <p>what essentially  essentially java.io package with blocking IO operations - write, read etc. I also found <a href="https://github.com/scala-incubator/scala-io" rel="noreferrer">scala-io</a> project with this intention but it seems that project is dead last activity 2012.</p>
  
  <p>What is best practice in this scenario? Is there any scala package or the common way is wrapping java.io code to Futures and Observables ?</p>
  
  <p>My use case is from an Akka actor need to manipulate files on local or remote file system. Need to avoid blocking. Or is there any better alternative?</p>
  
  <p>Thnaks for clarifing this</p>