public static String fileNameToConfigType(String filename) {
    int extIndex = filename.indexOf(StackDirectory.SERVICE_CONFIG_FILE_NAME_POSTFIX);
    return filename.substring(0, extIndex);
  }
@return true if the tags are different in any way, even if not-specified
ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java