fix add torrent by file feature