C Program to download HLS files.