Line 26: fs.close(geo2); Should be changed to: fs.closeSync(geo2);
Line 26: fs.close(geo2);
Should be changed to:
fs.closeSync(geo2);