adding torrent file support and generating the url client side, and storing just the original link