removes Reader from File.scala
cleans up main.scala