put the new file in the right place