> Do you know what happens when resourceNameAt returns None? I'm not too sure about how pattern matching works in for comprehensions. Does it translate into Future.filter?

`java.util.NoSuchElementException: Future.filter predicate is not satisfied`

> Also, why are you using Future.successful here? I don't think we need a Future value.

We do.