void (@NotNull AnActionEvent e) { VirtualFile[] files = e.getData(CommonDataKeys.VIRTUAL_FILE_ARRAY); assert files != null; FileTypeManager ftManager = FileTypeManager.getInstance(); try { for (VirtualFile file : files) { pruneEmptiesIn(file, ftManager); } } catch (IOException ignored) { } }