program to merge multiple files