def _get_excluded_pids(exclude_file):
    """Reads the exclusion list and returns a
    dict of lists of excluded patients"""
    exclude_pids = {
        'NCP': [],
        'CP': [],
        'Normal': []
    }
    with open(exclude_file, 'r') as f:
        for line in f.readlines():
            cls, pid = line.strip('\n').split()
            exclude_pids[cls].append(pid)
    return exclude_pids