printDirBanner now takes file handle as a parameter.

Signature of printDirBanner is now changed from
        printDirBanner(current_dir)

        to

        printDirBanner(file_handle, current_dir)