rewrote methods that filter direct directory contents