pub fn load(path: &Path) -> Result<LoadResult, LoadError>
Load a beancount file.
This is a convenience function that creates a loader and loads a single file.