def read_flag_file(filename):
    """
    Reads the flag file, ignoring comment lines


    """
    with open(filename, "r") as myfile:
        lines = myfile.read().splitlines()
    # filter the lines
    lines = [l for l in lines if l.startswith("-")]
    return " ".join(lines)