public static boolean isFileUnderVcs(Project project, @NotNull @NonNls String file) {
    return getVcsFor(project, getFilePath(file, false)) != null;
  }
public static boolean isFileUnderVcs(Project project, @NotNull @NonNls String file)