'find lines in session by ID'

@staticmethod
def get_content_by_session(filelines, sessionID=str):

    filterSession = []
    sessiongrap = 'SessionID[{}]'.format(sessionID)
    for line in filelines:
        if (sessiongrap in line):
            filterSession.append(line)
    return ''.join(filterSession)
