"""Plain text file extraction.""" def extract(file_path: str) -> str: """Read a plain text file as UTF-8.""" with open(file_path, "r", encoding="utf-8", errors="replace") as f: return f.read()