app creating 2 files: matched and nomatched