refactored DocumentFacade.open() call to take a file