[BACKLOG-194] - Refactor and unit tests for FileResource.doGetFileOrDir
Merge pull request #1715 from brendan-lynch/oemdocfeaturerequest

[BACKLOG-194] - Refactor and unit tests for FileResource.doGetFileOrDir