public String readEntireDocument(String path,String key){
  String ret=readEntireFileOrResourceFromPath(path);
  if (ret == null || ret.isEmpty()) {
    ret=readEntireFileOrResource(key);
  }
  return ret;
}

public String readEntireDocument ( String path , String key ) { String ret = readEntireFileOrResourceFromPath ( path ) ; if ( ret == null || ret . isEmpty ( ) ) { ret = readEntireFileOrResource ( key ) ; } return ret ; }
return the entire file or resource as a string , given the path and fall - back key .
