Major fixed to the logic:
- fixed condition labels in the 'files' list
- fixed conversion for dict to outlist for unique listings