setup Torrent api to serve from file