Uses File type and case class, updates sample and adds a Scala controller example