• use File.Exists(curFile) ? which returns a boolean

    http://msdn.microsoft.com/en-us/library/system.io.file.exists.aspx