upload_file method did not consider the provided file name in case a file-object was passed in. The name of the existing file was used instead.

The call client.upload_file('hello.txt', open('/path/to/file/test.txt‘,'rb')) resulted in the file test.txt on box.com