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

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

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