// Create report downloader.
final ReportDownloader reportDownloader =
new ReportDownloader(reportService, reportJob.getId());
reportDownloader.whenReportReady(new ReportCallback() {
public void onSuccess() {
try {
// Change to your file location.
String filePath = File.createTempFile("async-report-", ".csv.gz").toString();