Added license to apply_filter.py