repair the files