Allow specifying output filename