args = {...} request = http.get(args[1]) file = fs.open(args[2], "w") file.write(request.readAll()) request.close() file.close()