adding filename and directory filters