I think the right way is to use [withTempUnits](https://github.com/scala/scala/blob/master/src/interactive/scala/tools/nsc/interactive/Global.scala#L825), or a similar mechanism. `askFilesDeleted` is not for unloading (but for signalling that source files are deleted --> evict symbols from the symbol table).