static function added for LOG_FILE.open