I need to iterate over multiple text files but exclude some based on name or content.
What I have right now, searches through the entire file. This takes pretty long and is unnecessary.
I want the (Type "%%f" | FIND "") to only search through the first few lines.

```
for %%f in (*.ifc) do (
    (Echo "%%f" | FIND /I "optimized" 1>NUL) || (
        (Type "%%f" | FIND /I "Solibri IFC Optimizer" 1>NUL) || (
            echo do some stuff with file
)))

```

Thanks.