BASH file_exists

if [-f /tmp/foo.txt ]
then
    echo   file exists
fi