(continued from previous page(show all directories which contains 'xin itfind -name "* *-type /unix_commands (show all files which contains 'xin itfind -name "* *-type /box py /data txt /expansion py /expansion txt /methodex py /text_format txt /unix_commands/argparse_ex py /unix_commands/file txt /unix_commands/file txt /wide_text_format txt (for more optionssee man pageman find python implementation firstwe need to write the codewhich can traverse through the directories following is the current directory structuretree argparse_ex py cat py tiger txt file txt file txt find_ex py folder dog txt python code to traverse through each directory is shown belowlisting traverse directories using 'pathlib find_ex py from pathlib import path location of directory path('current directory print("all files and folders in current directory:"all_item [ for in iterdir()for in all_itemprint( files in current folder print("\ "print("files in current folder:"(continues on next page find