tempFiles.markForDeletion(file);
out = new PrintWriter(new BufferedWriter(new FileWriter(file)));
Workbook workbook = Workbook.getWorkbook(is);
Sheet[] sheets = workbook.getSheets();
for (int i = 0; i < sheets.length; i++) {
Sheet sheet = sheets[i];
int nbCol = sheet.getColumns();
for (int j = 0; j < nbCol; j++) {
Cell[] cells = sheet.getColumn(j);
for (int k = 0; k < cells.length; k++) {
out.print(cells[k].getContents() + " ");
}
}
}