code: public boolean accepts(VirtualFile file) {
          String name = file.getName();
          boolean accepts = false;
          for (String suffix : suffixes) {
              if (name.endsWith(suffix)) {
                  accepts = true;
                  break;
              }
          }
              VFSLogger.ROOT_LOGGER.tracef("%s accepted: %s", file, accepts);
          return accepts;
      }
docs: Accept any file that ends with one of the filter suffixes. This checks that the file.getName() endsWith a suffix.
  
  @return true if the file matches a suffix, false otherwise.