def METHOD_NAME(na_layout_path: Path):
    """
    Dumping the file should yield the same file, modulo a trailing newline.
    """
    text = na_layout_path.read_text(encoding="UTF-8").rstrip("\n")
    paradigm = ParadigmLayout.loads(text)
    assert paradigm.dumps() == text