BISERVER-11724 JcrRepositoryFileDao class has many code duplicates

getFile method fixed