syncing the two files