Set file and data protocol handler.