pub fn parse_file(path: impl AsRef<Path>) -> Result<Document, Diagnostic>
Read UTF-8 source with a 4 MiB cap before allocating the full input.