158159160161162163164165166167168
torrent = TOTorrentFactory.deserialiseFromBEncodedFile( input_file ); try{ torrent.serialiseToXMLFile( output_file ); return( true ); }catch( TOTorrentException e ){