def METHOD_NAME(filename):
    # Return dump format
    with open(filename, "r", encoding="utf8") as fh:
        lineno = 0
        for line in fh:
            if lineno > 10:
                break
            match = re.search(r'format (0x[0-9.]+)', line)
            if match:
                return hex(match.group(1))
    return 1.0