@Override public void visit(final AttributedList<Path> list, final int index, final Path f) { try { f.getType().add(Path.Type.encrypted); list.set(index, vault.decrypt(session, f)); } catch(BackgroundException e) { log.error(String.format("Failure decrypting %s. %s", f, e.getDetail())); f.getType().remove(Path.Type.encrypted); } }