             try? FileManager.default.removeItem(at: filePath)
             return
         }
-        MXSyncResponseFileStoreConstants.fileOperationQueue.async {
+        Constants.fileOperationQueue.async {
             try? syncResponse.jsonString()?.write(to: self.filePath,
                                                   atomically: true,
-                                                  encoding: MXSyncResponseFileStoreConstants.fileEncoding)
+                                                  encoding: Constants.fileEncoding)
         }
     }
     

        }
        var fileContents: String?
        
        MXSyncResponseFileStoreConstants.fileOperationQueue.sync {
            fileContents = try? String(contentsOf: filePath,
                                       encoding: MXSyncResponseFileStoreConstants.fileEncoding)
        }
        guard let jsonString = fileContents else {
            return nil

        }
        
        filePath = cachePath
            .appendingPathComponent(Constants.folderName)
            .appendingPathComponent(userId)
            .appendingPathComponent(Constants.fileName)
        
        Constants.fileOperationQueue.async {
            try? FileManager.default.createDirectory(at: self.filePath.deletingLastPathComponent(),
                                                withIntermediateDirectories: true,
                                                attributes: nil)
