* change fileLogger to safeLogger