constructor({type, paths, extensions = ['yaml', 'json']}) {
        if (!paths || !paths.length) {
            throw new IncorrectUsageError({
                message: tpl(messages.incorrectPathsParameter)
            });
        }

        this.type = type;
        this.filename = type;

        this.paths = paths;
        this.defaultPath = paths[0];

        this.extensions = extensions;
        this.defaultExtension = extensions[0];
    }
@param {Object} options
@param {String[]} options.paths - file location paths ordered in priority by where to locate them first
@param {String} options.type setting file type, e.g: 'routes' or 'redirects'
@param {String[]} [options.extensions] the supported file extensions with 'yaml' and 'json' defaults. Note 'yml' extension is ignored on purpose