code: def destroyTempFile(self, tempFile):
          
          #Do basic assertions for goodness of the function
          assert os.path.isfile(tempFile)
          assert os.path.commonprefix((self.rootDir, tempFile)) == self.rootDir #Checks file is part of tree
          #Update stats.
          self.tempFilesDestroyed += 1
          #Do the actual removal
          os.remove(tempFile)
          self.__destroyFile(tempFile)
docs: Removes the temporary file in the temp file dir, checking its in the temp file tree.