Added code for dealing with multipart files in the api console