String newFileSystemName = MD5.do_checksum("FILE_" + d.getTime());
String newFileExtDot = fileSystemName.substring(dotidx, fileSystemName.length()).toLowerCase();
String newFileExt = newFileExtDot.substring(1);
log.debug("newFileExt: " + newFileExt);
StoredFile storedFile = new StoredFile(newFileSystemName, newFileExt);
// Check variable to see if this file is a presentation
// check if this is a a file that can be converted by
// openoffice-service
boolean canBeConverted = storedFile.isConvertable();
boolean isPdf = storedFile.isPdf();
boolean isImage = storedFile.isImage();
boolean isChart = storedFile.isChart();
boolean isAsIs = storedFile.isAsIs();
boolean isVideo = storedFile.isVideo();
String completeName = "";
log.debug("isAsIs: " + isAsIs);
// add outputfolders for profiles