File.name - назва файлу.
File.name;
File - об'єкт File.
name властивість об'єкта File яка містить рядок з назвою файлу до якого привязаний об'єкт. Властивість лише для читання.
var file = new File(["Текст"], "text.txt", {type: "text/plain"});
alert(file.name);
<input id="file_user" type="file">
var input=document.getElementById('file_user');
input.onchange=function(){
alert( this.files[0].name );
}