private static @Nullable VirtualFile findThemeFile(@NotNull ModuleRootManager moduleRootManager,
                                                     @Nullable String pathToFile) {
    if (pathToFile != null) {
      for (VirtualFile root : moduleRootManager.getSourceRoots(false)) {
        Path path = Paths.get(root.getPath(), pathToFile);
        if (path.toFile().exists()) {
          return VfsUtil.findFile(path, true);
        }
      }
    }

    return null;
  }
private static @Nullable VirtualFile findThemeFile(@NotNull ModuleRootManager moduleRootManager,
                                                     @Nullable String pathToFile)