add support for new allow_file_upload to HTML