@Override
    public Icon getIcon() {
      return Files.isDirectory(myFile) ? PlatformIcons.FOLDER_ICON
                                       : FileTypeRegistry.getInstance().getFileTypeByFileName(myFile.toString()).getIcon();
    }
@Override
    public Icon getIcon()