adding listdir feature with filteriterator