The type of the object to be stored. Must be serializable.
The DataStore instance to use for storing the object.
Optional file reference for physical file deletion. If provided, enables deleteFile() functionality.