def make_analyze_by_file_request(file_id):
    file_data = demisto.getFilePath(file_id)
    with open(file_data['path'], 'rb') as file_to_upload:
        files = {'file': (file_data['name'], file_to_upload)}
        return SESSION.post((BASE_URL + '/analyze'), files=files, verify=USE_SSL)
def make_analyze_by_file_request(file_id):
    file_data = demisto.getFilePath(file_id)
    with open(file_data['path'], 'rb') as file_to_upload:
        files = {'file': (file_data['name'], file_to_upload)}
        return SESSION.post((BASE_URL + '/analyze'), files=files, verify=USE_SSL)