def search_obj(bucketObj, searchList):
    """
    Search function for s3 objects
    input: s3 object in boto3, list of items
    output: s3 object key list
    """
    result=[]
    for target in searchList:
        for candidate in bucketObj.objects.all():
            if str(candidate.key).find(target) > -1: # if target finds in string
                result.append(candidate.key) # get key
    return result