The HTMLInputElement.files property allows you to access the FileList selected with the <input type='file'> element.
HTMLInputElement.files
<input type='file'>
MDN Reference