unnecessary file is deleted