// Upload file
FileConversionContext conversionContext = attDescription.getContext();
String attachmentName = attDescription.getAttachmentName();
File file = attDescription.getMediaFile();
String mimeType = attDescription.getContentType();
conversionContext.uploadFile(attachmentName, file, mimeType);
}
private String computeThumbnailName(String attachmentName, String extension) {
if( null == attachmentName ) {
if( null != extension ) {