pub fn from_file<P: AsRef<Path>>(path: P) -> Result<UpfData, UpfError>
Parse a UPF document from a filesystem path.