in src/io/base.ts [46:50]
setScanFileCallback(callback: ScanFileFunction) { if (typeof callback === 'function') { this.shouldScanFile = callback; } }