Read and write data in ruby without further ado.