human
I need to make a list of all the countries in the world. How can I do this?
assistant
You can use a Python function called `listdir()` to get a list of all the files and directories in a directory. Then you can filter that list to only include files or directories whose names end with ".txt" or ".csv".