Fix to the form file input checker