added do_files_in_directory