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