def METHOD_NAME(profile, file):
    session = boto3.Session(profile_name=profile)
    # Test querying for current user
    get_caller_identity(session)
    print_info(f'Authenticated with profile {profile}')
    try:
        with open(file) as f:
            formatted_findings_list = process_results_file(f,
                                                           session.region_name)
    except Exception as e:
        print_exception(f'Unable to open file {file}: {e}')
    upload_findigs_to_securityhub(session, formatted_findings_list)