filter the txt type file