... print(f"Output nach: {OUT_DIR}")
    print(f"Modell: {MODEL}")
    print("Start...\n")

    for i, path in enumerate(files, 1):
        fn = os.path.basename(path)
        print(f"[{i}/{len(files)}] Analysiere: {fn}")

        with open(path, "r", encoding="utf-8", errors="replace") as f:
            text = f.read()

        try:
            result = call_ollama(text)
        except Exception as e:
       ...