IMHO comparison with explicit boolean values adds verbosity.
Why not ```if (!fs.isFile(path))``` ?