I have some files in my StreamingAssets folder and I am able to load them on Android as mentioned in the Unity documentation. <https://docs.unity3d.com/ScriptReference/Application-streamingAssetsPath.html>

But here I need to know the filename in advance.

Now I want to get list of all the files I have added in this directory. Following code does not work on Android. It gives directory not found exception.

```
    DirectoryInfo dir = new DirectoryInfo(Application.streamingAssetsPath);
    FileInfo[] info = dir.GetFiles("*.*");

```

So I want to know how do I get list of files in my StreamingAssets folder on Android. I need the file name so I can access the filename.