added filter to directory