add extension filtering option