FileProvider.prototype.canLoadFromOptions = function(options) {
    return options.mode === 'file' && 'domain' in options && 'path' in options;
};