                 }
             }
             
-            logInfo(tag) { "Attaching new persistent store \"\(storeURL.lastPathComponent ?? "Unknown")\" for type: \(persistentStoreType)."}
+            logInfo(tag) { "Attaching new persistent store \"\(storeURL.lastPathComponent)\" for type: \(persistentStoreType)."}
             
             try persistentStoreCoordinator.addPersistentStore(ofType: storeType, configurationName:  configuration, at: storeURL, options: options)
 

                }
            }
            
            logInfo(tag) { "Attaching persistent store \"\(storeURL.lastPathComponent ?? "Unknown")\" for type: \(persistentStoreType)."}

            let fileManager = FileManager.default
            let storePath = storeURL.path

        //
        let cachesURL = try FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false)
        
        logInfo(tag) { "Store path: \(cachesURL.path)" }
        
        let configurations = managedObjectModel.configurations
        
