I see people using the .files
extension like this:
var selectedElement = document.getElementById(id).files[0];
I only know it is part of the DOM. I've tried to search the internet to find a reference about what this does, but I can't find any. Can you guys explain or present more information about this?