Corrected logic for returned channel files

Corrected logic to clear returned channel files array between iterations over channel entries. Was repeatedly adding to array on each iteration and returning an incorrect data set.
Merge pull request #44 from gstjohn/patch-1

Corrected logic for returned channel files