def valid_file(path: str) -> bool:
    """
    Check if regressi file is valid
    :param path: path to the file to test
    :return: whether the file is valid or not
    """
    with open(path, 'r') as file:
        if file.readline() == "EVARISTE REGRESSI WINDOWS 1.0":
            return False
        else:
            return True