[BACKLOG-194] - Coded Tests doGetFileOrDirAsDownload using the FileService.  Refactored FileService so that it can be tested easier.