delete previous file