performed changes in file1 and file2