move isGroupToBeMerged to Dataset
move guessLatestTagFromLatestRootFiles to utils