code: public String contentTypeOf( String path ) throws IOException {
  	  File file = findFile(path);
  	  return lookupMimeType(file.getName());
  	}
docs: Returns the content type for the specified path.
  
  @param path the path to look up.
  @return the content type for the path.
  @throws FileNotFoundException if a file (or welcome file) does not exist at path.
  @throws IOException if any other problem prevents the lookup of the content type.