There are several ways to list all available files in a positive directory. First, let's inflameWe use a simple procedure to get and list all the files commonly used with the glob operator. Here's another example that opens a list and lists all the files located in that directory. You can use the mkdir function to create a new directory.