printDirBanner now takes file handle as a parameter.

Signature of printDirBanner is now changed from
        printDirBanner(current_dir)

        to

        printDirBanner(file_handle, current_dir)
Revert "printDirBanner now takes file handle as a parameter."

This reverts commit bf59b840a69249c446a56a1353ecb9f245ff392e.