<reponame>diCagri/content
import json

import demistomock as demisto  # noqa: F401
from CommonServerPython import *  # noqa: F401

res = []
fileLocations = json.loads(demisto.args()['filelocations'])
for md5 in fileLocations:
    res += demisto.executeCommand('CBLiveGetFile_V2', {'path': fileLocations[md5][0], 'endpoint': fileLocations[md5][1]})
demisto.results(res)

import json

import demistomock as demisto  # noqa: F401
from CommonServerPython import *  # noqa: F401

res = []
fileLocations = json.loads(demisto.args()['filelocations'])
for md5 in fileLocations:
    res += demisto.executeCommand('CBLiveGetFile_V2', {'path': fileLocations[md5][0], 'endpoint': fileLocations[md5][1]})
demisto.results(res)
# noqa: F401 # noqa: F401