Only if you put the file into the functions folder and it’s required
by the function. The rest of the frontend files will not be accessible from functions.
const catsData = require('./cats.json') // <= bundled with functions b/c required
exports.handler = async (event, context) => {
// do stuff with the catsData
}