problem with calling close() on scala.io.Source, will be replacing this with Scala IO or Arm