return null;
File file = fresource.getFile();
if (file.exists()) {
String comments[] = null;
try {
JpegHeaders headers = new JpegHeaders(file);
xmpinfo = headers.getXMP();
} catch (Exception ex) {
ex.printStackTrace();
return "unable to get XMP: "+ex.getMessage();
}
}