Support file output function callback configuration.