Modify upload_file to send filename

Change-Id: If45445743a82474d1d4400d6bd9c92e649f4b97b