def METHOD_NAME(filename):
    """ Get metadata from html file """
    parser = MetaParser()
    data = open(filename, 'r').read()
    if 'pycbc-meta' in data:
        print("LOADING HTML FILE %s" % filename)
    parser.feed(data)
    cp = ConfigParser.ConfigParser(parser.metadata)
    cp.add_section(os.path.basename(filename))
    return cp