if no "name" is specified, name it the same as the file when uploading.