from pathlib import Path


def read_diagnostics(path: Path) -> list[str]:
    """Read a submarine support system diagnostics file."""
    with open(path, "r") as file:
        return file.read().split()