public CoberturaData(Collection<? extends Coverable> files) {
        super(files);
        this.files = files;
        for (Coverable file : files) {
            String path = getPackage(file.getUri());
            if (!packageMap.containsKey(path)) {
                packageMap.put(path, new HashSet<Coverable>());
            }
            ((Set<Coverable>)packageMap.get(path)).add(file);
        }
    }