} else {
fis = new FileInputSource(file.getFile());
if (file.isBinary()) {
fis.setLineSeparator(LineOutputStream.LS_BINARY);
}
VaultFileOutput out = tx.add(path, fis);
// set the content type hint
out.setContentType(file.getContentType());
}
ctx.printMessage("adding.....", file);
break;
default:
// ignore