let file = fs.openSync(filePath, fs.OpenMode.READ_ONLY)
let arrayBuffer = new ArrayBuffer(fs.lstatSync(filePath).size);
fs.readSync(file.fd, arrayBuffer);
fs.closeSync(file);
const stream = fs.createStreamSync(filePath, 'r')
let arrayBuffer = new ArrayBuffer(fs.lstatSync(filePath).size);
stream.readSync(arrayBuffer);
stream.closeSync();