Multi-file downloader written in C