careful with indentation. another cool thing to use is set comprehensions:

```python
return {word.strip() for word in open(dictionary_name, "r")}
```