WSI Read and write