refactoring LogFileReporisotry.scala