def getLinesFromDict(marker, dictFileName):
    """
   Search for the line marker
   in the dictionary and save all lines until the line '0'
   Return them as List
   """
    selectedLines = []
    ifile = open(dictFileName)
    lines = ifile.readlines()
    ifile.close()
    recording = False
    for line in lines:
        if marker in line:
            recording = True
            continue
        if recording and '0' == line[0]:
            break
        if recording:
            selectedLines.append(line[:-1])
    return selectedLines
