Bash Script If File Not Empty Matlab