Python code to traverse the given directory, its sub-directories and display information about the files