delete the unnecessary file