implement filter_inode_type

fixes #186