@Nullable
  public String getColor(@NotNull VirtualFile file, Project project) {
    if (!file.isValid()) {
      return null;
    }

    return ReadAction.compute(() -> {
      final FileColorConfiguration configuration = findConfiguration(file);
      if (configuration != null && configuration.isValid(project)) {
        return configuration.getColorID();
      }
      return null;
    });
  }
@Nullable
  public String getColor(@NotNull VirtualFile file, Project project)