Tried to add serialization with filestream.