remove legacy file instead of leaving blank
loading config should be delayed until needed

The plugin might be instantiated without the appropriate hook ever
firing.