Minor fix for file logger and callbacks