Widen/fine-uploader#748 improve mergeFiles method in java example