Added read/write for char special files