added support for selecting torrent file from filesystem