log downloading as well.
mkdir base directories if not available.