prepared the way for a copy_file_select.cc example