public static boolean isHtmlFile(@NotNull VirtualFile file) {
    FileType fileType = file.getFileType();
    return fileType == HtmlFileType.INSTANCE || fileType == XHtmlFileType.INSTANCE;
  }
public static boolean isHtmlFile(@NotNull VirtualFile file)