check/wait for files to exist before continuing

I'm attempting to write a pretty simple script. It opens a Filemaker file successfully. That Filemaker file takes around 30-90 seconds to finish. When it's done, it writes a few .xml files into the same directory where my shell script and the Filemaker script reside.

In my script, how can I loop/wait until the Filemaker process is finished? Basically loop until the .xml files are created, then continue.

I've tried a couple of things and searched for solutions but can't get it to wait...

# -----
open fmp_file.fp7

Thanks!

What about something like this?

> cat chkf80
while [ ! -s file80 ]
  do
  printf "%10s \r" waiting 
done
echo "found it   "
while [ ! -s *.xml ]
  do
  printf "." 
done
echo "found it   "

that seemed to have worked... i used the above.
thanks!