handle multiple files and no file found errors better
only return the most latest file for any given document type