Refactor Get and GetAll file reading
Refactor Get and GetAll file reading

Combine the file-to-document unmarshaling in Get and GetAll into another
function. There's some future refactoring between the two refactored
functions as well, for the PathError->DNFError conversion. We can do
that later.

tummychow/goose,tummychow/goose