let url = "https://path-to-media"
let request = URLRequest(url: url)
let downloadTask = URLSession.shared.downloadTask(with: request) { (location, response, error) in
guard let location = location,
let response = response,
let documentsPath = NSSearchPathForDirectori...