moved filter.c from simple-bash to filter