Write and Read function accept now String