File database example, serialization and deserialization example