replaces all the files