removed condition for input[type="file"]