bug fix

initialing list in wrong place, so was adding to it continuously instead
of starting over for each folder