Inject file validators and scheme from the plugin

#104
You are right, I'll go with the constructor.