diff --git a/src/test/java/bdv/export/ExportHugeImage.java b/src/main/java/bdv/export/ExportHugeImage.java
similarity index 92%
rename from src/test/java/bdv/export/ExportHugeImage.java
rename to src/main/java/bdv/export/ExportHugeImage.java
index 7777487f7f5a6a2045351a63f1def605668c5cf9..5e58b0a7fdd3909958bcf67bc796358340fee25a 100644
--- a/src/test/java/bdv/export/ExportHugeImage.java
+++ b/src/main/java/bdv/export/ExportHugeImage.java
@@ -24,15 +24,16 @@ import net.imglib2.view.Views;
 
 public class ExportHugeImage
 {
-	private final File hdf5File = new File( "/Users/pietzsch/Desktop/huge.h5" );
+	private final File hdf5File;
 
 	private final RandomAccessibleInterval< UnsignedShortType > input;
 
-	public ExportHugeImage()
+	public ExportHugeImage( final File hdf5File )
 	{
 		input = Views.interval(
 				Views.extendZero( ArrayImgs.unsignedShorts( 1, 1, 1 ) ),
 				Intervals.createMinSize( 0, 0, 0, 10000, 10000, 10000 ) );
+		this.hdf5File = hdf5File;
 	}
 
 	public static class RAIImgLoader< T > implements TypedBasicImgLoader< T >
@@ -100,6 +101,11 @@ public class ExportHugeImage
 
 	public static void main( String[] args )
 	{
-		new ExportHugeImage().run();
+		File file = null;
+		if ( args.length > 0 )
+			file = new File( args[ 0 ] );
+		else
+			file = new File( "/Users/pietzsch/Desktop/huge.h5" );
+		new ExportHugeImage( file ).run();
 	}
 }