New method to find duplicate values in Properties file.