Adding TFile handling capability (instead of recreating the logs in text format)