// hack alert - we embed the vuze-file into a torrent to allow it to go through
// the normal share route, then pick it out again when the recipient 'downloads' it
try{
VuzeFile vf = subs.getVuzeFile();
// if not corrupt....
if ( vf != null ){
File f1 = AETemporaryFileHandler.createTempFile();
File f = new File( f1.getParent(), "Update Vuze to access this share_" + f1.getName());
f1.delete();
try{
vf.write( f );
TOTorrentCreator cr = TOTorrentFactory.createFromFileOrDirWithComputedPieceLength( f, new URL( "dht://" ));
TOTorrent temp = cr.create();
Map vuze_map = vf.exportToMap();
Map torrent_map = temp.serialiseToMap();
torrent_map.putAll( vuze_map );
torrent = TOTorrentFactory.deserialiseFromMap( torrent_map );