java.io.BufferedReader replaced with scala.io.Source