Restructured DOM for file input.