Serialization Methods

writeReplace

Make a Serialization replacement.
The entry is identified by the
file object is holds. When serialized, it stores the
file object and the data object. On deserialization
it finds the data object and creates the right entry
for it.