Added code for torrent file processing.