(Information and examples taken from the DroidScript documentation)
The FileExists method checks if a file exists in internal or exernal file storage.
exists = app.FileExists( fileName );
See also FolderExists
function OnStart() { exists = app.FileExists( "/sdcard/wftest.txt" ); app.ShowPopup( exists ); }