public ExcelWriterBuilder file(String outputPathName) {
        return file(new File(outputPathName));
    }
Excel is also written in the event of an exception being thrown.The default false.
fastexcel-core/src/main/java/cn/idev/excel/write/builder/ExcelWriterBuilder.java