Bash Script Check If File Doesnt Have Open