}
final File contentBase = file.getCanonicalFile().getParentFile();
final ResourceManager resourceManager = new ResourceManager();
resourceManager.registerDefaults();
final ResourceKey contextKey = resourceManager.createKey(contentBase);
// Build the main key. That key also contains all context/parse-time
// parameters as they will influence the resulting report. It is not
// wise to keep caching independent from that.
final HashMap map = new HashMap();