`fileExists` returns a boolean so why `=== true`? `if (fileExists(...)) {` will work.