use basename to hide directory structure
Merge pull request #194 from zalun/download_all

use basename to hide directory structure