delete the Thread file