         
         for url in urls {
             do {
-                try excludeFromBackup(url: url)
+                try excludeItemFromBackup(at: url)
             } catch {
                 MXLog.debug("[FileManager+Backup]: Cannot exclude url from backup: \(error.localizedDescription)")
             }

     Note: some directories are excluded automatically if they are nested within `<AppHome>/Library/Caches/` or `<AppHome>/tmp/`
     see [details](https://developer.apple.com/documentation/foundation/optimizing_app_data_for_icloud_backup).
     */
    @objc func excludeFromBackup(url: URL) throws {
        try (url as NSURL).setResourceValue(true, forKey: .isExcludedFromBackupKey)
    }
    

        
        for url in urls where isWritableFile(atPath: url.path) {
            do {
                try excludeItemFromBackup(at: url)
            } catch {
                MXLog.debug("[FileManager+Backup]: Cannot exclude url from backup: \(error.localizedDescription)")
            }
