It's not immediately clear to me looking at the code above: will this re-download log files that have already been downloaded? It seems almost like it will download the same files multiple times.