This includes the code to list the type of files present in a directory onto an Excel sheet.