import difflib


def _file_diff(current: str, should_be: str):
    """diff 2 files"""
    with open(current, "r") as current_f:
        with open(should_be, "r") as should_f:
            diff = difflib.unified_diff(
                current_f.read().splitlines(),
                should_f.read().splitlines(),
                fromfile="current",
                tofile="should_be",
            )
    return list(diff)