replace the files