Conditional sub-directory for download

Yes, this make sense to me. I thought of keeping less arguments in function call. But this looks neat. Thanks. :-)