docs: function filestojson (config = options) {
    try {
      validateConfig(config)
      let content = readDirSync(config.content)
      content = getData(content, config)
      content = translate(content, config.contentTypes)
      content = write(config.output, content)
      console.log(`File written on ${config.output}`)
      return content
    } catch (e) {
      console.log('Error: ', e)
    }
  }