Modified the upload to return the file object of the newly uploaded

file.