add all majority files in a certain portion into one file