Use existsSync instead.  Just simpler.