Removed some unecessary debug printout from upload.