Listing_all_files

Here,

the code generates the all file names in a directory either in top-down or bottom-up..
(including 3 fields : directory path, directory name, file names)

Note : use strip() to remove whitespaces