upload_file now probably works but I dont have a proper payload file to test it with.