public virtual ConfigFileNode LoadSubFile(ConfigFileNode parent, IVirtualFile file) { foreach (var fld in m_subFiles) { if (file.PathStarts(fld.Folder + "/") && file.NameEnds(fld.FileExtension)) { return(new ConfigFileNode(parent, file) { _Title = fld.Title, _Image = fld.Image, }); } } return(null); }