code: private boolean hasBinaryFileExtension(String path) {
  		boolean result = false;
  
  		int extFileIdx = path.lastIndexOf(".");
  		if (extFileIdx != -1 && extFileIdx + 1 < path.length()) {
  			String extension = path.substring(extFileIdx + 1);
  			result = binaryMimeTypeMap.containsKey(extension);
  		}
  
  		return result;
  	}
docs: Returns true of the path contains a binary file extension
  
  @param path
  the path
  @return the binary file extension