if [ -f ${GLOBAL_TOKEN}_FILE ] then ./write_on_stdout ${GLOBAL_TOKEN}_stdout ./delete-file ${GLOBAL_TOKEN}_FILE elif [ -f ${GLOBAL_TOKEN}_FILE ] then ./write_on_stdout ${GLOBAL_TOKEN}_error else ./write_on_stdout ${GLOBAL_TOKEN}_error fi