Unzip a zip file using scala

There is also the better-files library, which makes this a breeze:

val zipFile: File = file"path/to/research.zip"
val research: File = zipFile.unzipTo(destination = home/"Documents"/"research")

See https://github.com/pathikrit/better-files#zip-apis