@staticmethod
def _parseChangesFile(linesIter):
    """A generator that iterates over files listed in a changes file.

        :param linesIter: an iterable of lines in a changes file.
        """
    seenfiles = False
    for line in linesIter:
        if line.endswith('\n'):
            line = line[:-1]
        if not seenfiles and line.startswith('Files:'):
            seenfiles = True
        elif seenfiles:
            if not line.startswith(' '):
                break
            filename = line.split(' ')[-1]
            yield filename
