text: const fs = require('fs') // biblioteca de arquivo
  
  const contentFilePath = './content.json'
  
  function save(content){
    //salvar o arquivo
    const contentString = JSON.stringify(content)
    return fs.writeFileSync(contentFilePath, contentString)
  }
  
  function load(){
    const fileBuffer = fs.readFileSync(contentFilePath, 'utf-8')
    const contentJson = JSON.parse(fileBuffer)
    return contentJson
  }
  
  module.exports = {
    save,
    load
  }
  