contracting merge final files