We can simplify it to ``callback(err, (err || !files) ? [] : JSON.parse(files)); ``