delete and rename some files