Added file inputs to element support so that they can be required.