async function exists(/** @type {string} */ filepath) {
  return fs
    .stat(filepath)
    .then(() => {
      return true
    })
    .catch((/** @type {NodeJS.ErrnoException} */ err) => {
      if (err instanceof Error && err.code === 'ENOENT') {
        return false
      } else {
        throw err
      }
    })
}
@typedef {Object} DataFile
@property {Buffer} buffer
@property {string} text
@property {Record<PropertyKey, unknown>} json
@property {string} name
@property {string} path

@typedef {Object} SchemaFile
@property {Buffer} buffer
@property {string} text
@property {JsonSchema} json
@property {string} name
@property {string} path