Check for success code with floor().
Add .torrent file to couchdb document.