delete and add files