Filter files shown in Explorer

By default, Theia shows project’s file structure as it is, according to files’ actual disk location. I need to allow user to switch between different configurations of the project, e.g. if configuration A is selected, only .txt files are shown in the Explorer, if configuration B - all project’s files. Could you point me to the components that help to achieve this?

[original thread by Kristina Marchenko]

@kittaakos Maybe you can give a hint. I remember FileTree used to have capabilities for filtering, there should be a way to rebind it and provide custom filter?