I'm having a problem in writing a class to merge the duplicate versions together in alfresco.Suppose that i have a set of files file-1a, file-1b, file-1c…etc. My class should traverse all the groups and folders in that groups to merge these files. Ex. suppose tjat file-1c is the latest and i want to keep the version number for following. This is a migration issue. Can any one give me an idea?