Scala script for download files by URL