delete firstfile and modify second