# C++ Show only searched Files.

**URL:** <https://forums.unrealengine.com/t/c-show-only-searched-files/472706>\
**Category:** Plugins\
**Tags:** content-browser, unreal-engine, content, search, Plugins, CPP, question\
**Created:** [October 10, 2020, 10:29am UTC](https://forums.unrealengine.com/t/c-show-only-searched-files/472706 "2020-10-10T10:29:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dj\_EKI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dj\_EKI](https://forums.unrealengine.com/u/Dj_EKI)\
**Post date:** [October 10, 2020, 10:29am UTC](https://forums.unrealengine.com/t/c-show-only-searched-files/472706/1 "2020-10-10T10:29:15Z")

</div>

I would like to search and display assets in the content browser.  
When I click the button, a new content browser should open and only display the assets.

```
FContentBrowserModule& ContentBrowserModule = FModuleManager::LoadModuleChecked<FContentBrowserModule>("ContentBrowser");
IContentBrowserSingleton& ContentBrowserSingleton = ContentBrowserModule.Get();

```

This command works:

```
ContentBrowserSingleton.SyncBrowserToAssets(NewDatas, false, true, "", true);

```

but other files and folders that are not searched for are also displayed. The files I am looking for are only selected. I just want to display the files I am looking for. How can I fill the search bar with my C ++? Or are there other options?
