Minor rewrite to use argparse instead of getopt and handle directory recursion.