def get_solutions(file_descriptor):
    """Generator of solution lines and corresponding stripped lines for
    \\*mac\\* file.

    .. note:: This function does not return events! It is just original lines and
        cleaned lines containing solutions (i.e sets of frontier
        places/boundaries).

        We remove the last ``'\\n'`` and ``'\\t'``.
        Tabs in the middle are replaced by one space ``' '``.

    :param: Opened file.
    :type: <file>
    :return: A generator of tuples; each tuple contains the original line,
        and the cleaned line.

        :Example:

            For an original line: ``'Z\\tY\\tX\\n'``

            .. code-block:: python

                ('Z\\tY\\tX', 'X Y Z')

    :rtype: <tuple <str>, <str>>
    """
    for line in file_descriptor:
        line = line.rstrip('\n')
        stripped_line = line.rstrip('\t').replace('\t', ' ')
        if stripped_line == '':
            continue
        if stripped_line[0] not in ('%', '=', ' '):
            yield line, stripped_line
