grep.sh test elaborated to check for file