def read_loss_data(loss_file):
    """Read loss classification file."""
    proj_to_status = {}
    f = open(loss_file, "r")
    for line in f:
        line_data = line.rstrip().split("\t")
        entry_type = line_data[0]
        if entry_type != "PROJECTION":
            continue
        proj = line_data[1]
        status = line_data[2]
        proj_to_status[proj] = status
    f.close()
    return proj_to_status