Testing for update and remove some files