Bash Script Check If File Contains String In Python