anchor.diff:  					try {
   						// try root
   						ins = loaders[i].getResourceAsStream(arguments.fileName);
  -					
  +
   						// try .esapi folder
   						if(!isDefined("ins")) {
   							ins = currentLoader.getResourceAsStream(".esapi/" & arguments.fileName);
   						}
  -					
  +
   						// try resources folder
   						if(!isDefined("ins")) {
   							ins = currentLoader.getResourceAsStream("resources/" & arguments.fileName);
   						}
  -					
  +
   						// now load the properties
   						if(isDefined("ins")) {
   							result = newJava("java.util.Properties").init();
  
positive.code: 			}
  			throwException(newJava("java.io.FileNotFoundException").init());
  		</cfscript>
  		
  	</cffunction>
  	
  	<cffunction access="public" name="getResourceFile" output="false">
  		<cfargument required="true" type="String" name="filename"/>
  	
  		<cfscript>
  			// CF8 requires 'var' at the top
  			var fileLocation = "";
  		
  			var fileSeparator = newJava("java.io.File").separator;
  			var f = "";
  		
  			logSpecial("Attempting to load " & arguments.filename & " via file io.");
  		
  			if(arguments.filename == "") {
  				logSpecial("Failed to load properties via FileIO. Filename is empty.");
  				return "";// not found.
  			}
  		
  			// check specific setting first
  			// (this defaults to SystemResource directory/RESOURCE_FILE)
  			if(structKeyExists(variables, "resourceDirectory")) {
  
negative.code: 				}
  			return config;
  		</cfscript>
  
  	</cffunction>
  
  	<cffunction access="public" name="getResourceStream" output="false" hint="Utility method to get a resource as an InputStream. The search looks for an 'esapi-resources' directory in the setResourceDirectory() location, then the System.getProperty( 'org.owasp.esapi.resources' ) location, then the System.getProperty( 'user.home' ) location, and then the classpath.">
  		<cfargument required="true" type="String" name="filename"/>
  
  		<cfscript>
  			var f = "";
  			if(arguments.filename == "") {
  				return "";
  			}
  
  			try {
  				f = getResourceFile(arguments.filename);
  				if(isObject(f) && f.exists()) {
  