code: protected boolean isAllowed(File path, boolean write) throws IOException {
  		return isAllowedInternal(path, write, config.isReadOnly());
  	}
docs: checks if file is allowed for access
  
  @param path
  @param write
  @return
  @throws IOException