fix file writing issue
delete upwanted file