can also use set comprehensions:

```python
return {word.strip() for word in open(dictionary_name, "rb")}
```