CHG: use file handler in extendTsfe hook