delete and rename files