Have "do_capture()" take, as an argument, a pointer to the name of the