def meta_creator(doctype='NETSCAPE-Bookmark-file-1', meta=None, title='Bookmarks', h1='Bookmarks'):
    """
    creates the start of the file
    :param doctype: the doc type
    :param meta: the list with both meta attributes
    :param title: title of the file
    :param h1: "name of the root folder"
    :return: the meta with lines as a list, without \n
    """
    if meta is None:
        meta = ["Content-Type", "text/html; charset=UTF-8"]
    # warning at the top of the file
    warning = list()
    warning.append('<!-- This is an automatically generated file.')
    warning.append('     It will be read and overwritten.')
    warning.append('     DO NOT EDIT! -->')
    ret = list()
    ret.append('<!DOCTYPE ' + doctype + '>')
    ret.extend(warning)
    ret.append('<META HTTP-EQUIV="' + meta[0] + '" CONTENT="' + meta[1] + '">')
    ret.append('<TITLE>' + title + '</TITLE>')
    ret.append('<H1>' + h1 + '</H1>')
    return ret