def open_python_files(filepaths):
    """For each specified filepath, yield (path, content) pairs."""
    for filepath in sorted(filepaths):
        with open(filepath, 'r') as f:
            contents = f.read()
        yield filepath, contents
