                                 data = try data.decompress(algorithm: .lz4)
                             }
                             writeFileHande.write(data)
+                            Async.main{
+                                counter += 1
+                                progressionState.message=source
+                                progressionState.currentTaskIndex=counter
+                                progressionState.currentPercentProgress=Double(counter)*Double(100)/Double(progressionState.totalTaskCount)
+                                // Relay the progression
+                                progression(progressionState)
+                            }
                         })
                     }
                     Async.main{

                var position:UInt64=0
                var chunks=[Chunk]()


                func __writeData(data:Data,to folderPath:String)throws->(){
                    let sha1=data.sha1

            }
        }
    }
    
    
}
