When checking for a value in a jsonc file, like a TypeScript config, this check will fail if any comments are present.
The error is also incorrect, as it says the file is not present - but it is actually unreadable.
This might be best implemented as hasJsoncFile.
This relates to #329.