added support for creating torrent files