Delete TH1 from rootfile

The “delete f;” will “close” the opened file (and cleanup RAM).