Shorter version:

```
with open(filename, 'r') as f:
    for line in f:
        utils.process_swid_tag(line.strip())
```