m3u8 file manipulation