Fix: check existence of the plugin file before requiring it