public String readEntireFileOrResourceFromPath(String path){
  String ret=readEntireFileFromPath(path);
  if (ret.isEmpty()) {
    ret=readEntireResourceFromPath(path);
  }
  return ret;
}

public String readEntireFileOrResourceFromPath ( String path ) { String ret = readEntireFileFromPath ( path ) ; if ( ret . isEmpty ( ) ) { ret = readEntireResourceFromPath ( path ) ; } return ret ; }
return the entire file or resource as a string , given the path .
