def _get_version(kojak_txt):
    """
    Get the Kojak version from the first line of the result file.
    """
    with open(kojak_txt) as kojak_file:
        version = kojak_file.readline()

    return version.replace("Kojak version ", "")