When i say one big string i mean that it would appear to be a scalar/string to the programmer, not that it is implemented as a big string. The same could indeed go for a socket for that matter.
: Not a database table, which has an inherent structure. Perhaps that'd be an array of arrays.
I'm talking only about the interface to the file/socket. You could concatenate something to a string which would write it to a socket.