Added merge-files-with function.