Generating plugin file.