def read_runlist(filepath):
    """Read a list of runs from a txt file

    Parameters
    ----------
    filepath : `str`
        The input file with the list of runs.
        Each line should contain raft and run number, e.g., RTM-004-Dev 6106D

    Returns
    -------
    outlist : `list`
        A list of tuples with (raft, run)
    """
    fin = open(filepath)
    lin = fin.readline()

    outlist = []
    while lin:
        tokens = lin.split()
        if len(tokens) == 2:
            outlist.append(tokens)
        lin = fin.readline()
    return outlist