File destinationArchive = new File(tempDir, bz2name);
InputStream inputStream = ImporterTestSupport.class.getResourceAsStream("test-data/geotiff/" + bz2name);
IOUtils.copy(inputStream, destinationArchive);
VFSWorker vfs = new VFSWorker();
vfs.extractTo(destinationArchive, tempDir);
File tiff = new File(tempDir, tifname);
if (!tiff.exists()) {
throw new IllegalStateException("Did not extract tif correctly");
}