public static String trimFileExtension(String fileNameString) {
		
		// local vars
		String resultString = fileNameString ;
		int dotPoint = fileNameString.length() - 4;
		
		// if we have a dot 3 chars in from right side ...
		if (fileNameString.charAt(dotPoint) == '.') {
			
			// trim last 4 chars
			resultString = fileNameString.substring(0, dotPoint) ;
			
		}
		
		return resultString ;
		
	} // end method trimOffAnyFileExtension