app.js json file filter now in getFilesContent