Return a variable as 0 if a file does not exist, 1 if it does exist.

Thanks