in app/lib/Properties.scala [10:17]
def fromPath(file: String): Map[String, String] =
fromStream(new FileInputStream(file))
def fromStream(stream: InputStream): Map[String, String] = {
val props = new java.util.Properties
try props.load(stream) finally stream.close()
props.asScala.toMap
}