Added serialization to disk