/// <summary>
        /// Gets the file paths for selected source type. If <c>regexPattern</c> is specified, local path to the resource has to match the regex
        /// </summary>
        /// <param name="source">The source type to query.</param>
        /// <param name="regexPattern">The regex pattern to filter out available resources</param>
        /// <returns>List of paths</returns>
        public List <string> getFilePaths(lexiconSourceTypeEnum source, String regexPattern = "")
        {
            List <string> output = new List <string>();

            foreach (lexiconSourceFile item in this)
            {
                if (source.HasFlag(item.sourceType))
                {
                    Boolean ok = false;
                    if (regexPattern.isNullOrEmpty())
                    {
                        ok = true;
                    }
                    else
                    {
                        ok = Regex.IsMatch(item.filepath, regexPattern);
                    }
                    if (ok)
                    {
                        output.Add(item.filepath);
                    }
                }
            }

            return(output);
        }
        public List <string> getFilePaths(lexiconSourceTypeEnum source)
        {
            List <string> output = new List <string>();

            foreach (lexiconSourceFile item in this)
            {
                if (source.HasFlag(item.sourceType))
                {
                    output.Add(item.filepath);
                }
            }

            return(output);
        }