ARe you writing to a file?
The program expect some file to be present .
You check for the existance of file and if not present, create

if (file not present)
Creat file
Endif