Wrote mkm3u() function.