Add a script to filter files for beagrep