Update CompareFileWithArrayPath by returning all duplicated file in each group and Mock Testing