@Override
  public ItemPresentation getPresentation(@NotNull final GroovyFile file) {
    return new ItemPresentation() {
      @Override
      public String getPresentableText() {
        return GroovyBundle.message("groovy.file.0", file.getName());
      }

      @Override
      public String getLocationString() {
        PsiDirectory directory = file.getContainingDirectory();
        return ItemPresentationProviders.getItemPresentation(directory).getPresentableText();
      }

      @Override
      public Icon getIcon(boolean unused) {
        return file.getIcon(Iconable.ICON_FLAG_VISIBILITY | Iconable.ICON_FLAG_READ_STATUS);
      }
    };
  }
@Override
  public ItemPresentation getPresentation(@NotNull final GroovyFile file)