clean up the directory. clean up after filter scan