Removed unused function from do-upload.js
https://app.asana.com/0/19128794071859/20811486365150