shard file write problem is solved.