/* CreateXLFile.java*/ import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import org.apache…