Split bash download files into modules.#needtest