Fixed for automatic TFile file change