WSI Read and write for test