Bash script can't check file exists

Hello everybody: I have a bash script that check if a file exists and with that information create a new file. The part of the script with the problem is this…

linux bash