Easy! Just use CHKFILE("[FILETYPE:]PRGNAME"). It returns TRUE if the file exists, FALSE otherwise. Specifying the file type is optional, hence why it's in brackets. The file type can be either TXT or DAT. (DAT includes graphic files.)