Good point!
Just took a brief look, but what about making it a ```Map[String, BundleFilesWithTarget]``` with BundleFilesWithTarget being of Type
```scala
case class BundleFilesWithTarget(files: List[String], target: Option[String] = None)
```

Alternatively, keep a second map that simply maps the bundle name to BundleNameAndTarget or keep a case class that contains all: name, target and files and is mapped through its name, so ```Map[String, (String, Option[String], List[String])]```

None of those options except for the last one really strike me as a good idea though.