For example, the pattern file contains:

```
thepiratebay.org
some-url.com

```

Basically, lines with these patterns need to be removed from a file. How can I do that? I prefer a method that uses core utils.