Added the filter class (filtering to only allow text files and
directories)