make sure files are filtered