Improved check_for_finished_files() to be really, really sure