filter_file.sh takes 5 arguments, rather than 3