Cleaning Up the Text Files Inside a Folder

This is the second use case of our introduction section.
We’ll create a simple command-line application where we’ll traverse the files in a directory, clean them up, and save the cleaned-up files in a separate folder.
File cleanup, is a common task that any developer will eventually face more than once in their career; so this is not just a demo use-case and can have practical implications too.