usage of multithread   (file write & read)