public XMLReport(Task task, File file) { this.file = file; this.task = task;
public XMLReport(File file) { this(null, file);
    public XMLReport(Task task, File file) {        this.file = file;        this.task = task;    }