def getPoint(filename, pointLabel):
    """Get point (T,P) from line identefied by pointLabel. Last two words on line covetered to floats.

    Args:
        filename (str): File path
        pointLabel (str): Searchable string

    Returns:
        float: Last two entries on line containg pointLabel
    """
    file = open(filename, 'r')
    # Parse header
    T = 0.0
    P = 0.0
    for line in file:
        words = line.split()
        if words[0][0] == '#':
            if pointLabel in line:
                T = float(words[len(words)-2])
                P = float(words[len(words)-1])
        else:
            break
    return T, P