fileExists Function
Purpose:
Checks whether a file exists or not.
Syntax:
fileExists(filename)
Comments:
Returns 1 if file exits. Returns 0 if file does not exists.
Example:
if fileExists(filename) = 1 then
// process file
endif