check that the plugin has name and file