switch the content of 2 files