I am trying to match partials from a list with a complete match in the other list.

```
match_list = ['abc', 'bcc'] # etc

files = os.listdir()

files = ['hello-abc', 'bye-abc', 'byebyebcc', 'byehelloxyz']

# List comprehension to match partial 'hello-abc'(example) in files with element 'abc' in files.

# this wont work
files = [i for i in files if i in match_list]
# results in files = []

```

Expected output:

```
files = ['hello-abc', 'bye-abc', 'byebyebcc']

```