[mod] extract filter_Bar code in another file