Adding a Filter when the scanning is performed.