Fix file input tags and type