class Echo implements ProgressCheck {

    @Override
    public void identifyPackage(final PackageId packageId, final File file) {
        echo("identifyPackage(packageId: %s, file: %s)", packageId,
                Optional.ofNullable(file).map(File::getAbsolutePath).orElse(null));
    }

}