io - write text file
objct - serialization