title: Reading a CSV files using Akka Streams
body: <p>I'm reading a csv file. I am using Akka Streams to do this so that I can create a graph of actions to perform on each line. I've got the following toy example up and running.</p>
  
  <pre><code>  def main(args: Array[String]): Unit = {
      implicit val system = ActorSystem("MyAkkaSystem")
      implicit val materializer = ActorMaterializer()
  
          val source = akka.stream.scaladsl.Source.fromIterator(Source.fromFile("a.csv").getLines)
          val sink = Sink.foreach(println)
          source.runWith(sink)
        }
  </code></pre>
  
  <p>The two <code>Source</code> types don't sit easy with me. Is this idiomatic or is there is a better way to write this?</p>