That's probably not necessary.
Make download function return list of successfully downloaded files.