Resource icon2 = file.getIcon();
String name = file.getName();
l.addComponent(new Embedded(null, icon2));
l.addComponent(new Label(name));
l.addListener(new LayoutClickListener() {
@Override
@SuppressWarnings("static-access")
public void layoutClick(LayoutClickEvent event) {
if (event.isDoubleClick()) {
if (file instanceof Folder) {