@Override
public InputStream createInputStream(Resource resource) throws IOException {
InputStream inputStream = decorated.createInputStream(resource);
if (resource.getName().endsWith(ExcelExtension.EXCEL_FILE_EXTENSION)) {
HTMLBuilder result = new HTMLBuilderImpl();
workbookStrategy.process(new WorkbookHelper(inputStream, getTestTitle(resource)), result);
inputStream.close();
return createInputStreamFromPage(result);
} else {