@Waleed Saleem
To list all the files in a directory you can use the Rest API List Directories and Files. You could also open the folder in Storage Explorer and Select All and Copy the information. Here is solution on Stack Overflow using PowerShell. Here is a C# sample that lists all the files and directories which also might be helpful.
Hope this helps. Let us know if you have further questions or issues.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.