Bash Script If File Not Empty Matlab For Loop