Use filter() method to check if an array of object includes what we seek via TypeScript Sandbox online: https://typescript-play.js.org/#code/Q
// testing how the out-of-box `filter` for ES6 ecma works without utilities like lodash
// https://typescript-play.js.org/#code/Q
let knownFiles = [
{ file: 'xxx', status: 0 },