//extension
Extension extension = deserialize( Extension.class, PROPERTY_EXTENSION, formatVersion, deserializeFrom );
//Finally closing element
closeObject( deserializeFrom );
//Constructing the deserialized object
return new FileName( baseName, extension );
}