Finished read and write.