#!/bin/bash
#
# Iterate through a list of lists
# e.g. in each m3u file check the path for
# the files listed(in the m3u) are persent
# then send all the ouput into collection (file)
#
while read list
do
while read track
do
file $track
done <$list
done<listoflists >>collection