From Mark C. Brown: allow the file type for the merge operation to be