// Try to get the converter for the extension. If there is not converter available then we will
//assume simple type and will get the data that way
if(converterHandler != null) {
Converter converter = converterHandler.getConverter( FilenameUtils.getExtension( filePath ) );
if(converter != null) {
inputStream = converter.convert( repositoryFile.getId() );
}
}
if(inputStream == null) {
inputStream =
getRepository().getDataForRead( repositoryFile.getId(), SimpleRepositoryFileData.class ).getStream();