* 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?
* Also, why are you using `Future.successful` here? I don't think we need a Future value.