const fs = require("fs");
// All operations we did before are blocking
// This means that next operation won't be started before previous is complete
function doMath(a, b) {
console.log("1 Doing math for ", a, b);
return a + b;
}
console.log("0 Starting...");
doMath(2, 2); // <-- synchronus code
console.log("2 Did math!");
console.log("3 Ending...");
// One of strong side of JS, is that it works extremely well with special asynchronus operations
// These operations does not block next commands execution until async command execution completed:
function asyncDoMath(a, b) {
console.log("1.0 Starting doing math for", a, b);
// setTimeout means - run this function in 2 seconds, not immediately
setTimeout(function() {
console.log("1.1 Result is", a + b);
}, 2000);
}
console.log("0 Starting...");
asyncDoMath(5, 5); // <-- async code, does not block next commands to be started
console.log("2 Did math!");
console.log("3 Ending...");
// This extremely useful for long running Input/Output operations like reading files, sending HTTP requests...
// Lets see 2 implementations for printing file content - sync and async
function printFileSync(name) {
const fs = require("fs");
let content = fs.readFileSync(`./6/data/${name}`, { encoding: "UTF8" });
console.log(name, "is ready:");
console.log(content);
}
function printFileAsync(name) {
const fs = require("fs");
fs.readFile(`./6/data/${name}`, { encoding: "UTF8" }, function(err, content) {
console.log(name, "is ready:");
console.log(content);
});
}
// Sync:
console.log("Reading file sync 1.json");
printFileSync("1.json");
console.log("Reading file sync 2.json");
printFileSync("2.json");
console.log("Done executing sync commands");
// Async
console.log("Reading file async 1.json");
printFileAsync("1.json");
console.log("Reading file async 2.json");
printFileAsync("2.json");
console.log("Done scheduling async commands");
// You can think of Async code like 'schedule to execute this operation in background'
// Lets see how fs.readFile looks like:
fs.readFile(
// relative path to file
`./data/1.json`,
// reading options
undefined,
// special function called callback:
function(err, myfilecontent) {
console.log(myfilecontent);
}
);
// Callback is a special function that will be executed once your async operation is complete
// You can think of it like -
// please call this function once file will be opened and content will be loaded
// Notice! fs.readFile DOES NOT RETURN ANYTHING (undefined)
let a = fs.readFile();
a; // undefined
// Result of your async function will be passed to callback function
fs.readFile(
// relative path to file
`./6/data/notexisting.json`,
// reading options
{ encoding: "UTF8" },
// special function called callback:
function(err, content) {
console.log("Here is our async function returned result!");
console.log(content);
}
);
// ERRORS handling:
fs.readFile(
// relative path to file
`./data/notexisting.json`,
// reading options
{ encoding: "UTF8" },
// special function called callback:
function(err, content) {
// It is convention - first parameter of callback function must be err
// if we have error
if (err) {
console.log("Oh no, we have error!");
console.log(err);
// you can re-throw if you want
throw err;
}
console.log(name, "is ready:");
console.log(content);
}
);
// Why we can't just do try/catch?
try {
fs.readFile();
} catch (err) {
// blabla
}
// Because async function is only SCHEDULED at this point, and not actually executed
// Execution stack will be different when function will be actually executed,
// so try/catch cannot handle that
// Why callbacks are bad?
// When you need to run commands in exact order
// Example: Reading first file, using content of that file to read next files
// DO NOT WORRY IF YOU DONT UNDERSTAND
// This is called pyramid of DOOM
const fs = require("fs");
fs.readFile(
// path to first file
`./data/paths.json`,
// options
{ encoding: "UTF8" },
// callback
function(err, filepaths) {
// converting string to json
let parsedFilepaths = JSON.parse(filepaths);
// showing what we got
console.log("Got file paths!", parsedFilepaths);
fs.readFile(parsedFilepaths.first, { encoding: "UTF8" }, function(
err,
contentFirst
) {
console.log("Got first file", contentFirst);
fs.readFile(parsedFilepaths.second, { encoding: "UTF8" }, function(
err,
contentSecond
) {
console.log("Got second file", contentSecond);
fs.readFile(parsedFilepaths.three, { encoding: "UTF8" }, function(
err,
contentThird
) {
// OOOPS - undefined!
console.log("Got third file", contentThird);
});
});
});
}
);
// Problem #2 - Error handling
// Who can say where the problem is?
const fs = require("fs");
fs.readFile(
// path to first file
`./6/data/paths.json`,
// options
{ encoding: "UTF8" },
// callback
function(err, filepaths) {
// converting string to json
let parsedFilepaths = JSON.parse(filepaths);
// showing what we got
console.log("Got file paths!", parsedFilepaths);
fs.readFile(parsedFilepaths.first, { encoding: "UTF8" }, function(
err,
contentFirst
) {
console.log("Got first file", contentFirst);
fs.readFile(parsedFilepaths.second, { encoding: "UTF8" }, function(
err,
contentSecond
) {
console.log("Got second file", contentSecond);
fs.readFile(
`./${parsedFilepaths.three}`,
{ encoding: "UTF8" },
function(err, contentThird) {
// OOOPS - undefined!
console.log("Got third file", contentThird);
}
);
});
});
}
);
// Problem is here
// fs.readFile(`./${parsedFilepaths.three}`, - wrong string
const fs = require("fs");
fs.readFile(
// path to first file
`./6/data/paths.json`,
// options
{ encoding: "UTF8" },
// callback
function(err, filepaths) {
if (err) {
throw err;
}
// converting string to json
let parsedFilepaths;
try {
parsedFilepaths = JSON.parse(filepaths);
} catch (err) {
throw err;
}
// showing what we got
console.log("Got file paths!", parsedFilepaths);
fs.readFile(parsedFilepaths.first, { encoding: "UTF8" }, function(
err,
contentFirst
) {
if (err) {
throw err;
}
console.log("Got first file", contentFirst);
fs.readFile(parsedFilepaths.second, { encoding: "UTF8" }, function(
err,
contentSecond
) {
if (err) {
throw err;
}
console.log("Got second file", contentSecond);
fs.readFile(
`./${parsedFilepaths.three}`,
{ encoding: "UTF8" },
function(err, contentThird) {
if (err) {
throw err;
}
// OOOPS - undefined!
console.log("Got third file", contentThird);
}
);
});
});
}
);
// Horrible code became even more horrible!
/* global __dirname */
var express = require('express');
var app = express();
var fs = require("fs");
// Add headers
app.use(function (req, res, next) {
// Website you wish to allow to connect
res.setHeader('Access-Control-Allow-Origin', 'http://localhost:8383');
// Request methods you wish to allow
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
// Request headers you wish to allow
res.setHeader('Access-Control-Allow-Headers', 'X-Requested-With,content-type');
// Set to true if you need the website to include cookies in the requests sent
// to the API (e.g. in case you use sessions)
res.setHeader('Access-Control-Allow-Credentials', true);
// Pass to next layer of middleware
next();
});
app.get('/PM10/2014', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102014.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2013', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102013.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2012', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102012.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2011', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102011.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2010', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102010.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2009', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102009.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2008', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102008.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2007', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102007.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2006', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102006.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2005', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102005.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2004', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102004.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2003', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102003.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2002', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102002.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2001', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102001.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/2000', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm102000.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM10/1999', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM10/pm101999.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2014', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252014.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2013', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252013.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2012', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252012.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2011', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252011.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2010', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252010.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2009', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252009.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2008', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252008.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2007', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252007.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2006', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252006.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2005', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252005.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2004', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252004.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2003', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252003.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2002', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252002.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2001', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252001.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM2_5/2000', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm252000.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/PM25/1999', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PM25/pm251999.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2014', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32014.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2013', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32013.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2012', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32012.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2011', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/PNH3/NH32011.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2010', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32010.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2009', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32009.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2008', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32008.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2007', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32007.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2006', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32006.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2005', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32005.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2004', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32004.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2003', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32003.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2002', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32002.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2001', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32001.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/2000', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH32000.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NH3/1999', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NH3/NH31999.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2014', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2014.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2013', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2013.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2012', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2012.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2011', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2011.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2010', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2010.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2009', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2009.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2008', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2008.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2007', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2007.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2006', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2006.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2005', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2005.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2004', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2004.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2003', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2003.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2002', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2002.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2001', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2001.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/2000', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC2000.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NMVOC/1999', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NMVOC/NMVOC1999.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2014', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2014.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2013', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2013.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2012', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2012.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2011', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2011.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2010', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2010.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2009', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2009.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2008', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2008.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2007', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2007.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2006', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2006.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2005', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2005.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2004', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2004.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2003', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2003.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2002', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2002.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2001', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2001.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/2000', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX2000.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/NOX/1999', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/NOX/NOX1999.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2014', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2014.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2013', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2013.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2012', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2012.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2011', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2011.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2010', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2010.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2009', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2009.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2008', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2008.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2007', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2007.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2006', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2006.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2005', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2005.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2004', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2004.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2003', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2003.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2002', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2002.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2001', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2001.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/2000', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX2000.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/SOX/1999', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/SOX/SOX1999.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/country/UK', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/UK.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/country/AT', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/AT.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/country/BE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/BE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/BG', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/BG.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/CH', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/CH.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/CY', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/CY.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/CZ', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/CZ.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/DE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/DE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/DK', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/DK.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/EE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/EE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/ES', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/ES.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/FI', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/FI.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/FR', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/FR.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/HR', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/HR.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/HU', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/HU.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/IE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/IE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/IT', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/IT.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/LI', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/LI.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/LT', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/LT.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/LU', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/LU.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/LV', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/LV.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/NL', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/NL.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/NO', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/NO.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/PL', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/PL.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/PT', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/PT.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/RO', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/RO.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/SE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/SE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/SI', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/SI.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/country/SK', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/Countries/SK.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/raw/PM10', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/PM10.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/raw/PM2_5', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/PM2_5.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/raw/NH3', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/NH3.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/raw/NMVOC', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/NMVOC.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/raw/NOX', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/NOX.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/raw/SOX', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/SOX.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/rawdata/UK', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/UK.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/rawdata/AT', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/AT.json", 'utf8', function (err, data) {
res.end( data );
});
});
app.get('/rawdata/BE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/BE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/BG', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/BG.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/CH', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/CH.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/CY', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/CY.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/CZ', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/CZ.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/DE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/DE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/DK', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/DK.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/EE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/EE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/ES', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/ES.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/FI', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/FI.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/FR', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/FR.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/HR', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/HR.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/HU', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/HU.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/IE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/IE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/IT', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/IT.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/LI', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/LI.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/LT', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/LT.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/LU', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/LU.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/LV', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/LV.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/NL', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/NL.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/NO', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/NO.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/PL', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/PL.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/PT', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/PT.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/RO', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/RO.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/SE', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/SE.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/SI', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/SI.json", 'utf8', function (err, data) {
res.end( data );
});
});app.get('/rawdata/SK', function (req, res , next) {
fs.readFile( __dirname + "/" + "data/rawdata/Countries/SK.json", 'utf8', function (err, data) {
res.end( data );
});
});
var server = app.listen(8081, function () {
var host = server.address().address;
var port = server.address().port;
console.log("Example app listening at http://%s:%s", host, port);
});
var Views = module.exports;
var fs = require('fs')
Views.viewsDir = __dirname + '/../views'
Views.index = ''
indexPage = fs.readFile(Views.viewsDir + '/index.html', 'utf8',
function (err, data) {
Views.index += data
});
Views.header = ''
headerPage = fs.readFile(Views.viewsDir + '/header.html', 'utf8',
function (err, data) {
Views.header += data
});
Views.sidebar = ''
sidebarPage = fs.readFile(Views.viewsDir + '/sidebar.html', 'utf8',
function (err, data) {
Views.sidebar += data
});
Views.login = ''
loginPage = fs.readFile(Views.viewsDir + '/login.html', 'utf8',
function (err, data) {
Views.login += data
});
Views.dashboard = ''
dashboardPage = fs.readFile(Views.viewsDir + '/dashboard.html', 'utf8',
function (err, data) {
Views.dashboard += data
});
Views.admin = ''
adminPage = fs.readFile(Views.viewsDir + '/admin.html', 'utf8',
function (err, data) {
Views.admin += data
});
Views.accountActivated = ''
accountActivatedPage = fs.readFile(Views.viewsDir + '/accountActivated.html', 'utf8',
function (err, data) {
Views.accountActivated += data
});
Views.clientAdmin = ''
clientAdminPage = fs.readFile(Views.viewsDir + '/clientAdmin.html', 'utf8',
function (err, data) {
Views.clientAdmin += data
});
Views.user = ''
userPage = fs.readFile(Views.viewsDir + '/user.html', 'utf8',
function (err, data) {
Views.user += data
});
Views.addUser = ''
adduserPage = fs.readFile(Views.viewsDir + '/addUser.html', 'utf8',
function (err, data) {
Views.addUser += data
});
Views.client = ''
adminPage = fs.readFile(Views.viewsDir + '/client.html', 'utf8',
function (err, data) {
Views.client += data
});
Views.addClient = ''
addClientPage = fs.readFile(Views.viewsDir + '/addClient.html', 'utf8',
function (err, data) {
Views.addClient += data
});
Views.editClient = ''
editClientPage = fs.readFile(Views.viewsDir + '/editClient.html', 'utf8',
function (err, data) {
Views.editClient += data
});
Views.editAccount = ''
editAccountPage = fs.readFile(Views.viewsDir + '/editAccount.html', 'utf8',
function (err, data) {
Views.editAccount += data
});
Views.reallocateAccount = ''
reallocateAccountPage = fs.readFile(Views.viewsDir + '/reallocateAccount.html', 'utf8',
function (err, data) {
Views.reallocateAccount += data
});
Views.did = ''
didPage = fs.readFile(Views.viewsDir + '/did.html', 'utf8',
function (err, data) {
Views.did += data
});
Views.superReceptionist = ''
superReceptionistPage = fs.readFile(Views.viewsDir + '/superReceptionist.html', 'utf8',
function (err, data) {
Views.superReceptionist += data
});
Views.addExtension = ''
addExtensionPage = fs.readFile(Views.viewsDir + '/addExtension.html', 'utf8',
function (err, data) {
Views.addExtension += data
});
Views.superReceptionistList = ''
superReceptionistPage = fs.readFile(Views.viewsDir + '/superReceptionistList.html', 'utf8',
function (err, data) {
Views.superReceptionistList += data
});
Views.editExtension = ''
editExtensionPage = fs.readFile(Views.viewsDir + '/editExtension.html', 'utf8',
function (err, data) {
Views.editExtension += data
});
Views.clientDid = ''
clientDidPage = fs.readFile(Views.viewsDir + '/clientDid.html', 'utf8',
function (err, data) {
Views.clientDid += data
});
Views.accountSummary = ''
accountPage = fs.readFile(Views.viewsDir + '/accountSummary.html', 'utf8',
function (err, data) {
Views.accountSummary += data
});
Views.addAccount = ''
addAccountPage = fs.readFile(Views.viewsDir + '/addAccount.html', 'utf8',
function (err, data) {
Views.addAccount += data
});
Views.report = ''
reportPage = fs.readFile(Views.viewsDir + '/report.html', 'utf8',
function (err, data) {
Views.report += data
});
Views.inbox = ''
inboxPage = fs.readFile(Views.viewsDir + '/inbox.html', 'utf8',
function (err, data) {
Views.inbox += data
});
Views.voicemail = ''
voicemailPage = fs.readFile(Views.viewsDir + '/voicemail.html', 'utf8',
function (err, data) {
Views.voicemail += data
});
Views.addressbook = ''
addressbookPage = fs.readFile(Views.viewsDir + '/addressbook.html', 'utf8',
function (err, data) {
Views.addressbook += data
});
Views.addDid = ''
addDidtPage = fs.readFile(Views.viewsDir + '/addDid.html', 'utf8',
function (err, data) {
Views.addDid += data
});
Views.editDId = ''
editDidPage = fs.readFile(Views.viewsDir + '/editDid.html', 'utf8',
function (err, data) {
Views.editDid += data
});
Views.changeSetting = ''
changeSettingPage = fs.readFile(Views.viewsDir + '/changeSetting.html', 'utf8',
function (err, data) {
Views.changeSetting += data
});
Views.changePassword = ''
changePasswordPage = fs.readFile(Views.viewsDir + '/changePassword.html', 'utf8',
function (err, data) {
Views.changePassword += data
});
Views.demoAccount = ''
demoAccountPage = fs.readFile(Views.viewsDir + '/demoAccount.html', 'utf8',
function (err, data) {
Views.demoAccount += data
});
Views.addDemo = ''
addDemoPage = fs.readFile(Views.viewsDir + '/addDemo.html', 'utf8',
function (err, data) {
Views.addDemo += data
});
Views.demoDashboard = ''
demoDashboardPage = fs.readFile(Views.viewsDir + '/demoDashboard.html', 'utf8',
function (err, data){
Views.demoDashboard += data
});
Views.example = ''
examplePage = fs.readFile(Views.viewsDir + '/example.html', 'utf8',
function (err, data) {
Views.example += data
});
Views.contactus = ''
contactus = fs.readFile(Views.viewsDir + '/contact.html', 'utf8',
function (err, data) {
Views.contactus += data
});
Views.checkSocket = ''
checkSocket = fs.readFile(Views.viewsDir + '/checkSocket.html', 'utf8',
function (err, data) {
Views.checkSocket += data
});
Views.editResources = ''
checkSocket = fs.readFile(Views.viewsDir + '/editResources.html', 'utf8',
function (err, data) {
Views.editResources += data
});
Views.allocateDidForVR = ''
allocateDidForVRPage = fs.readFile(Views.viewsDir + '/allocateDidForVR.html', 'utf8',
function (err, data) {
Views.allocateDidForVR += data
});
Views.createBWList = ''
createBWListPage = fs.readFile(Views.viewsDir + '/createBWList.html', 'utf8',
function (err, data) {
Views.createBWList += data
});
Views.missedCall = ''
missedCallPage = fs.readFile(Views.viewsDir + '/missedCall.html', 'utf8',
function (err, data) {
Views.missedCall += data
});
Views.stickyAgent = ''
stickyAgentPage = fs.readFile(Views.viewsDir + '/stickyAgent.html', 'utf8',
function (err, data) {
Views.stickyAgent += data
});
var async = require('async');
var fs = require('fs');
var start = (new Date()).getTime();
// async.parallel([
// function(callback){
// fs.readFile('file1.txt', 'utf-8', callback);
// },
// function (callback){
// fs.readFile('file2.txt', 'utf-8', callback);
// },
// function(callback){
// fs.readFile('file1.txt', 'utf-8', callback);
// },
// function (callback){
// fs.readFile('file2.txt', 'utf-8', callback);
// },
// function(callback){
// fs.readFile('file1.txt', 'utf-8', callback);
// },
// function (callback){
// fs.readFile('file2.txt', 'utf-8', callback);
// },
// function(callback){
// fs.readFile('file1.txt', 'utf-8', callback);
// },
// function (callback){
// fs.readFile('file2.txt', 'utf-8', callback);
// },
// function(callback){
// fs.readFile('file1.txt', 'utf-8', callback);
// },
// function (callback){
// fs.readFile('file2.txt', 'utf-8', callback);
// }
// ], function (err, results){
// console.log(results, (new Date()).getTime() - start);
// });
async.parallelLimit([
function(callback){
fs.readFile('file1.txt', 'utf-8', callback);
},
function (callback){
fs.readFile('file2.txt', 'utf-8', callback);
},
function(callback){
fs.readFile('file1.txt', 'utf-8', callback);
},
function (callback){
fs.readFile('file2.txt', 'utf-8', callback);
},
function(callback){
fs.readFile('file1.txt', 'utf-8', callback);
},
function (callback){
fs.readFile('file2.txt', 'utf-8', callback);
},
function(callback){
fs.readFile('file1.txt', 'utf-8', callback);
},
function (callback){
fs.readFile('file2.txt', 'utf-8', callback);
},
function(callback){
fs.readFile('file1.txt', 'utf-8', callback);
},
function (callback){
fs.readFile('file2.txt', 'utf-8', callback);
}
], 1, function (err, results){
console.log(results, (new Date()).getTime() - start);
});
require('dotenv').config('')
const fs = require('fs').promises
const { mcsClient } = require('mcs-client')
const client = new mcsClient({
privateKey: process.env.PRIVATE_KEY,
rpcUrl: process.env.RPC_URL,
})
async function main() {
const fileArray = [
{ fileName: 'AAA01AAA', file: await fs.readFile('./file/AAA01AAA') },
{ fileName: 'AAA02AAA', file: await fs.readFile('./file/AAA02AAA') },
{ fileName: 'AAA03AAA', file: await fs.readFile('./file/AAA03AAA') },
{ fileName: 'AAA04AAA', file: await fs.readFile('./file/AAA04AAA') },
{ fileName: 'AAA05AAA', file: await fs.readFile('./file/AAA05AAA') },
{ fileName: 'AAA06AAA', file: await fs.readFile('./file/AAA06AAA') },
{ fileName: 'AAA07AAA', file: await fs.readFile('./file/AAA07AAA') },
{ fileName: 'AAA08AAA', file: await fs.readFile('./file/AAA08AAA') },
{ fileName: 'AAA09AAA', file: await fs.readFile('./file/AAA09AAA') },
{ fileName: 'AAA10AAA', file: await fs.readFile('./file/AAA10AAA') },
{ fileName: 'AAA11AAA', file: await fs.readFile('./file/AAA11AAA') },
{ fileName: 'AAA12AAA', file: await fs.readFile('./file/AAA12AAA') },
{ fileName: 'AAA13AAA', file: await fs.readFile('./file/AAA13AAA') },
{ fileName: 'AAA14AAA', file: await fs.readFile('./file/AAA14AAA') },
{ fileName: 'AAA15AAA', file: await fs.readFile('./file/AAA15AAA') },
{ fileName: 'AAA16AAA', file: await fs.readFile('./file/AAA16AAA') },
{ fileName: 'AAA17AAA', file: await fs.readFile('./file/AAA17AAA') },
{ fileName: 'AAA18AAA', file: await fs.readFile('./file/AAA18AAA') },
{ fileName: 'AAA19AAA', file: await fs.readFile('./file/AAA19AAA') },
{ fileName: 'AAA20AAA', file: await fs.readFile('./file/AAA20AAA') },
{ fileName: 'AAA21AAA', file: await fs.readFile('./file/AAA21AAA') },
{ fileName: 'AAA22AAA', file: await fs.readFile('./file/AAA22AAA') },
{ fileName: 'AAA23AAA', file: await fs.readFile('./file/AAA23AAA') },
{ fileName: 'AAA24AAA', file: await fs.readFile('./file/AAA24AAA') },
{ fileName: 'AAA25AAA', file: await fs.readFile('./file/AAA25AAA') },
{ fileName: 'AAA26AAA', file: await fs.readFile('./file/AAA26AAA') },
{ fileName: 'AAA27AAA', file: await fs.readFile('./file/AAA27AAA') },
{ fileName: 'AAA28AAA', file: await fs.readFile('./file/AAA28AAA') },
{ fileName: 'AAA29AAA', file: await fs.readFile('./file/AAA29AAA') },
{ fileName: 'AAA30AAA', file: await fs.readFile('./file/AAA30AAA') },
{ fileName: 'AAA31AAA', file: await fs.readFile('./file/AAA31AAA') },
{ fileName: 'AAA32AAA', file: await fs.readFile('./file/AAA32AAA') },
{ fileName: 'AAA33AAA', file: await fs.readFile('./file/AAA33AAA') },
{ fileName: 'AAA34AAA', file: await fs.readFile('./file/AAA34AAA') },
{ fileName: 'AAA35AAA', file: await fs.readFile('./file/AAA35AAA') },
{ fileName: 'AAA36AAA', file: await fs.readFile('./file/AAA36AAA') },
{ fileName: 'AAA37AAA', file: await fs.readFile('./file/AAA37AAA') },
{ fileName: 'AAA38AAA', file: await fs.readFile('./file/AAA38AAA') },
{ fileName: 'AAA39AAA', file: await fs.readFile('./file/AAA39AAA') },
{ fileName: 'AAA40AAA', file: await fs.readFile('./file/AAA40AAA') },
{ fileName: 'AAA41AAA', file: await fs.readFile('./file/AAA41AAA') },
{ fileName: 'AAA42AAA', file: await fs.readFile('./file/AAA42AAA') },
{ fileName: 'AAA43AAA', file: await fs.readFile('./file/AAA43AAA') },
{ fileName: 'AAA44AAA', file: await fs.readFile('./file/AAA44AAA') },
{ fileName: 'AAA45AAA', file: await fs.readFile('./file/AAA45AAA') },
{ fileName: 'AAA46AAA', file: await fs.readFile('./file/AAA46AAA') },
{ fileName: 'AAA47AAA', file: await fs.readFile('./file/AAA47AAA') },
{ fileName: 'AAA48AAA', file: await fs.readFile('./file/AAA48AAA') },
{ fileName: 'AAA49AAA', file: await fs.readFile('./file/AAA49AAA') },
{ fileName: 'AAA50AAA', file: await fs.readFile('./file/AAA50AAA') },
{ fileName: 'AAA51AAA', file: await fs.readFile('./file/AAA51AAA') },
{ fileName: 'AAA52AAA', file: await fs.readFile('./file/AAA52AAA') },
{ fileName: 'AAA53AAA', file: await fs.readFile('./file/AAA53AAA') },
{ fileName: 'AAA54AAA', file: await fs.readFile('./file/AAA54AAA') },
{ fileName: 'AAA55AAA', file: await fs.readFile('./file/AAA55AAA') },
{ fileName: 'AAA56AAA', file: await fs.readFile('./file/AAA56AAA') },
{ fileName: 'AAA57AAA', file: await fs.readFile('./file/AAA57AAA') },
{ fileName: 'AAA58AAA', file: await fs.readFile('./file/AAA58AAA') },
{ fileName: 'AAA59AAA', file: await fs.readFile('./file/AAA59AAA') },
{ fileName: 'AAA60AAA', file: await fs.readFile('./file/AAA60AAA') },
{ fileName: 'AAA61AAA', file: await fs.readFile('./file/AAA61AAA') },
{ fileName: 'AAA62AAA', file: await fs.readFile('./file/AAA62AAA') },
{ fileName: 'AAA63AAA', file: await fs.readFile('./file/AAA63AAA') },
{ fileName: 'AAA64AAA', file: await fs.readFile('./file/AAA64AAA') },
{ fileName: 'AAA65AAA', file: await fs.readFile('./file/AAA65AAA') },
{ fileName: 'AAA66AAA', file: await fs.readFile('./file/AAA66AAA') },
{ fileName: 'AAA67AAA', file: await fs.readFile('./file/AAA67AAA') },
{ fileName: 'AAA68AAA', file: await fs.readFile('./file/AAA68AAA') },
{ fileName: 'AAA69AAA', file: await fs.readFile('./file/AAA69AAA') },
{ fileName: 'AAA70AAA', file: await fs.readFile('./file/AAA70AAA') },
{ fileName: 'AAA71AAA', file: await fs.readFile('./file/AAA71AAA') },
{ fileName: 'AAA72AAA', file: await fs.readFile('./file/AAA72AAA') },
{ fileName: 'AAA73AAA', file: await fs.readFile('./file/AAA73AAA') },
{ fileName: 'AAA74AAA', file: await fs.readFile('./file/AAA74AAA') },
{ fileName: 'AAA75AAA', file: await fs.readFile('./file/AAA75AAA') },
{ fileName: 'AAA76AAA', file: await fs.readFile('./file/AAA76AAA') },
{ fileName: 'AAA77AAA', file: await fs.readFile('./file/AAA77AAA') },
{ fileName: 'AAA78AAA', file: await fs.readFile('./file/AAA78AAA') },
{ fileName: 'AAA79AAA', file: await fs.readFile('./file/AAA79AAA') },
{ fileName: 'AAA80AAA', file: await fs.readFile('./file/AAA80AAA') },
{ fileName: 'AAA81AAA', file: await fs.readFile('./file/AAA81AAA') },
{ fileName: 'AAA82AAA', file: await fs.readFile('./file/AAA82AAA') },
{ fileName: 'AAA83AAA', file: await fs.readFile('./file/AAA83AAA') },
{ fileName: 'AAA84AAA', file: await fs.readFile('./file/AAA84AAA') },
{ fileName: 'AAA85AAA', file: await fs.readFile('./file/AAA85AAA') },
{ fileName: 'AAA86AAA', file: await fs.readFile('./file/AAA86AAA') },
{ fileName: 'AAA87AAA', file: await fs.readFile('./file/AAA87AAA') },
{ fileName: 'AAA88AAA', file: await fs.readFile('./file/AAA88AAA') },
{ fileName: 'AAA89AAA', file: await fs.readFile('./file/AAA89AAA') },
{ fileName: 'AAA90AAA', file: await fs.readFile('./file/AAA90AAA') },
{ fileName: 'AAA91AAA', file: await fs.readFile('./file/AAA91AAA') },
{ fileName: 'AAA92AAA', file: await fs.readFile('./file/AAA92AAA') },
{ fileName: 'AAA93AAA', file: await fs.readFile('./file/AAA93AAA') },
{ fileName: 'AAA94AAA', file: await fs.readFile('./file/AAA94AAA') },
{ fileName: 'AAA95AAA', file: await fs.readFile('./file/AAA95AAA') },
{ fileName: 'AAA96AAA', file: await fs.readFile('./file/AAA96AAA') },
{ fileName: 'AAA97AAA', file: await fs.readFile('./file/AAA97AAA') },
{ fileName: 'AAA98AAA', file: await fs.readFile('./file/AAA98AAA') },
{ fileName: 'AAA99AAA', file: await fs.readFile('./file/AAA99AAA') },
{ fileName: 'AAA100AAA', file: await fs.readFile('./file/AAA100AAA') },
{ fileName: 'AAA101AAA', file: await fs.readFile('./file/AAA101AAA') },
{ fileName: 'AAA102AAA', file: await fs.readFile('./file/AAA102AAA') },
{ fileName: 'AAA103AAA', file: await fs.readFile('./file/AAA103AAA') },
{ fileName: 'AAA104AAA', file: await fs.readFile('./file/AAA104AAA') },
{ fileName: 'AAA105AAA', file: await fs.readFile('./file/AAA105AAA') },
{ fileName: 'AAA106AAA', file: await fs.readFile('./file/AAA106AAA') },
{ fileName: 'AAA107AAA', file: await fs.readFile('./file/AAA107AAA') },
{ fileName: 'AAA108AAA', file: await fs.readFile('./file/AAA108AAA') },
{ fileName: 'AAA109AAA', file: await fs.readFile('./file/AAA109AAA') },
{ fileName: 'AAA110AAA', file: await fs.readFile('./file/AAA110AAA') },
{ fileName: 'AAA111AAA', file: await fs.readFile('./file/AAA111AAA') },
{ fileName: 'AAA112AAA', file: await fs.readFile('./file/AAA112AAA') },
{ fileName: 'AAA113AAA', file: await fs.readFile('./file/AAA113AAA') },
{ fileName: 'AAA114AAA', file: await fs.readFile('./file/AAA114AAA') },
{ fileName: 'AAA115AAA', file: await fs.readFile('./file/AAA115AAA') },
{ fileName: 'AAA116AAA', file: await fs.readFile('./file/AAA116AAA') },
{ fileName: 'AAA117AAA', file: await fs.readFile('./file/AAA117AAA') },
{ fileName: 'AAA118AAA', file: await fs.readFile('./file/AAA118AAA') },
{ fileName: 'AAA119AAA', file: await fs.readFile('./file/AAA119AAA') },
{ fileName: 'AAA120AAA', file: await fs.readFile('./file/AAA120AAA') },
{ fileName: 'AAA121AAA', file: await fs.readFile('./file/AAA121AAA') },
{ fileName: 'AAA122AAA', file: await fs.readFile('./file/AAA122AAA') },
{ fileName: 'AAA123AAA', file: await fs.readFile('./file/AAA123AAA') },
{ fileName: 'AAA124AAA', file: await fs.readFile('./file/AAA124AAA') },
{ fileName: 'AAA125AAA', file: await fs.readFile('./file/AAA125AAA') },
{ fileName: 'AAA126AAA', file: await fs.readFile('./file/AAA126AAA') },
{ fileName: 'AAA127AAA', file: await fs.readFile('./file/AAA127AAA') },
{ fileName: 'AAA128AAA', file: await fs.readFile('./file/AAA128AAA') },
{ fileName: 'AAA129AAA', file: await fs.readFile('./file/AAA129AAA') },
{ fileName: 'AAA130AAA', file: await fs.readFile('./file/AAA130AAA') },
{ fileName: 'AAA131AAA', file: await fs.readFile('./file/AAA131AAA') },
{ fileName: 'AAA132AAA', file: await fs.readFile('./file/AAA132AAA') },
{ fileName: 'AAA133AAA', file: await fs.readFile('./file/AAA133AAA') },
{ fileName: 'AAA134AAA', file: await fs.readFile('./file/AAA134AAA') },
{ fileName: 'AAA135AAA', file: await fs.readFile('./file/AAA135AAA') },
{ fileName: 'AAA136AAA', file: await fs.readFile('./file/AAA136AAA') },
{ fileName: 'AAA137AAA', file: await fs.readFile('./file/AAA137AAA') },
{ fileName: 'AAA138AAA', file: await fs.readFile('./file/AAA138AAA') },
{ fileName: 'AAA139AAA', file: await fs.readFile('./file/AAA139AAA') },
{ fileName: 'AAA140AAA', file: await fs.readFile('./file/AAA140AAA') },
{ fileName: 'AAA141AAA', file: await fs.readFile('./file/AAA141AAA') },
{ fileName: 'AAA142AAA', file: await fs.readFile('./file/AAA142AAA') },
{ fileName: 'AAA143AAA', file: await fs.readFile('./file/AAA143AAA') },
{ fileName: 'AAA144AAA', file: await fs.readFile('./file/AAA144AAA') },
{ fileName: 'AAA145AAA', file: await fs.readFile('./file/AAA145AAA') },
{ fileName: 'AAA146AAA', file: await fs.readFile('./file/AAA146AAA') },
{ fileName: 'AAA147AAA', file: await fs.readFile('./file/AAA147AAA') },
{ fileName: 'AAA148AAA', file: await fs.readFile('./file/AAA148AAA') },
{ fileName: 'AAA149AAA', file: await fs.readFile('./file/AAA149AAA') },
{ fileName: 'AAA150AAA', file: await fs.readFile('./file/AAA150AAA') },
{ fileName: 'AAA151AAA', file: await fs.readFile('./file/AAA151AAA') },
{ fileName: 'AAA152AAA', file: await fs.readFile('./file/AAA152AAA') },
{ fileName: 'AAA153AAA', file: await fs.readFile('./file/AAA153AAA') },
{ fileName: 'AAA154AAA', file: await fs.readFile('./file/AAA154AAA') },
{ fileName: 'AAA155AAA', file: await fs.readFile('./file/AAA155AAA') },
{ fileName: 'AAA156AAA', file: await fs.readFile('./file/AAA156AAA') },
{ fileName: 'AAA157AAA', file: await fs.readFile('./file/AAA157AAA') },
{ fileName: 'AAA158AAA', file: await fs.readFile('./file/AAA158AAA') },
{ fileName: 'AAA159AAA', file: await fs.readFile('./file/AAA159AAA') },
{ fileName: 'AAA160AAA', file: await fs.readFile('./file/AAA160AAA') },
{ fileName: 'AAA161AAA', file: await fs.readFile('./file/AAA161AAA') },
{ fileName: 'AAA162AAA', file: await fs.readFile('./file/AAA162AAA') },
{ fileName: 'AAA163AAA', file: await fs.readFile('./file/AAA163AAA') },
{ fileName: 'AAA164AAA', file: await fs.readFile('./file/AAA164AAA') },
{ fileName: 'AAA165AAA', file: await fs.readFile('./file/AAA165AAA') },
{ fileName: 'AAA166AAA', file: await fs.readFile('./file/AAA166AAA') },
{ fileName: 'AAA167AAA', file: await fs.readFile('./file/AAA167AAA') },
{ fileName: 'AAA168AAA', file: await fs.readFile('./file/AAA168AAA') },
{ fileName: 'AAA169AAA', file: await fs.readFile('./file/AAA169AAA') },
{ fileName: 'AAA170AAA', file: await fs.readFile('./file/AAA170AAA') },
{ fileName: 'AAA171AAA', file: await fs.readFile('./file/AAA171AAA') },
{ fileName: 'AAA172AAA', file: await fs.readFile('./file/AAA172AAA') },
{ fileName: 'AAA173AAA', file: await fs.readFile('./file/AAA173AAA') },
{ fileName: 'AAA174AAA', file: await fs.readFile('./file/AAA174AAA') },
{ fileName: 'AAA175AAA', file: await fs.readFile('./file/AAA175AAA') },
{ fileName: 'AAA176AAA', file: await fs.readFile('./file/AAA176AAA') },
{ fileName: 'AAA177AAA', file: await fs.readFile('./file/AAA177AAA') },
{ fileName: 'AAA178AAA', file: await fs.readFile('./file/AAA178AAA') },
{ fileName: 'AAA179AAA', file: await fs.readFile('./file/AAA179AAA') },
{ fileName: 'AAA180AAA', file: await fs.readFile('./file/AAA180AAA') },
{ fileName: 'AAA181AAA', file: await fs.readFile('./file/AAA181AAA') },
{ fileName: 'AAA182AAA', file: await fs.readFile('./file/AAA182AAA') },
{ fileName: 'AAA183AAA', file: await fs.readFile('./file/AAA183AAA') },
{ fileName: 'AAA184AAA', file: await fs.readFile('./file/AAA184AAA') },
{ fileName: 'AAA185AAA', file: await fs.readFile('./file/AAA185AAA') },
{ fileName: 'AAA186AAA', file: await fs.readFile('./file/AAA186AAA') },
{ fileName: 'AAA187AAA', file: await fs.readFile('./file/AAA187AAA') },
{ fileName: 'AAA188AAA', file: await fs.readFile('./file/AAA188AAA') },
{ fileName: 'AAA189AAA', file: await fs.readFile('./file/AAA189AAA') },
{ fileName: 'AAA190AAA', file: await fs.readFile('./file/AAA190AAA') },
{ fileName: 'AAA191AAA', file: await fs.readFile('./file/AAA191AAA') },
{ fileName: 'AAA192AAA', file: await fs.readFile('./file/AAA192AAA') },
{ fileName: 'AAA193AAA', file: await fs.readFile('./file/AAA193AAA') },
{ fileName: 'AAA194AAA', file: await fs.readFile('./file/AAA194AAA') },
{ fileName: 'AAA195AAA', file: await fs.readFile('./file/AAA195AAA') },
{ fileName: 'AAA196AAA', file: await fs.readFile('./file/AAA196AAA') },
{ fileName: 'AAA197AAA', file: await fs.readFile('./file/AAA197AAA') },
{ fileName: 'AAA198AAA', file: await fs.readFile('./file/AAA198AAA') },
{ fileName: 'AAA199AAA', file: await fs.readFile('./file/AAA199AAA') },
{ fileName: 'AAA200AAA', file: await fs.readFile('./file/AAA200AAA') },
{ fileName: 'AAA201AAA', file: await fs.readFile('./file/AAA201AAA') },
{ fileName: 'AAA202AAA', file: await fs.readFile('./file/AAA202AAA') },
{ fileName: 'AAA203AAA', file: await fs.readFile('./file/AAA203AAA') },
{ fileName: 'AAA204AAA', file: await fs.readFile('./file/AAA204AAA') },
{ fileName: 'AAA205AAA', file: await fs.readFile('./file/AAA205AAA') },
{ fileName: 'AAA206AAA', file: await fs.readFile('./file/AAA206AAA') },
{ fileName: 'AAA207AAA', file: await fs.readFile('./file/AAA207AAA') },
{ fileName: 'AAA208AAA', file: await fs.readFile('./file/AAA208AAA') },
{ fileName: 'AAA209AAA', file: await fs.readFile('./file/AAA209AAA') },
{ fileName: 'AAA210AAA', file: await fs.readFile('./file/AAA210AAA') },
{ fileName: 'AAA211AAA', file: await fs.readFile('./file/AAA211AAA') },
{ fileName: 'AAA212AAA', file: await fs.readFile('./file/AAA212AAA') },
{ fileName: 'AAA213AAA', file: await fs.readFile('./file/AAA213AAA') },
{ fileName: 'AAA214AAA', file: await fs.readFile('./file/AAA214AAA') },
{ fileName: 'AAA215AAA', file: await fs.readFile('./file/AAA215AAA') },
{ fileName: 'AAA216AAA', file: await fs.readFile('./file/AAA216AAA') },
{ fileName: 'AAA217AAA', file: await fs.readFile('./file/AAA217AAA') },
{ fileName: 'AAA218AAA', file: await fs.readFile('./file/AAA218AAA') },
{ fileName: 'AAA219AAA', file: await fs.readFile('./file/AAA219AAA') },
{ fileName: 'AAA220AAA', file: await fs.readFile('./file/AAA220AAA') },
{ fileName: 'AAA221AAA', file: await fs.readFile('./file/AAA221AAA') },
{ fileName: 'AAA222AAA', file: await fs.readFile('./file/AAA222AAA') },
{ fileName: 'AAA223AAA', file: await fs.readFile('./file/AAA223AAA') },
{ fileName: 'AAA224AAA', file: await fs.readFile('./file/AAA224AAA') },
{ fileName: 'AAA225AAA', file: await fs.readFile('./file/AAA225AAA') },
{ fileName: 'AAA226AAA', file: await fs.readFile('./file/AAA226AAA') },
{ fileName: 'AAA227AAA', file: await fs.readFile('./file/AAA227AAA') },
{ fileName: 'AAA228AAA', file: await fs.readFile('./file/AAA228AAA') },
{ fileName: 'AAA229AAA', file: await fs.readFile('./file/AAA229AAA') },
{ fileName: 'AAA230AAA', file: await fs.readFile('./file/AAA230AAA') },
{ fileName: 'AAA231AAA', file: await fs.readFile('./file/AAA231AAA') },
{ fileName: 'AAA232AAA', file: await fs.readFile('./file/AAA232AAA') },
{ fileName: 'AAA233AAA', file: await fs.readFile('./file/AAA233AAA') },
{ fileName: 'AAA234AAA', file: await fs.readFile('./file/AAA234AAA') },
{ fileName: 'AAA235AAA', file: await fs.readFile('./file/AAA235AAA') },
{ fileName: 'AAA236AAA', file: await fs.readFile('./file/AAA236AAA') },
{ fileName: 'AAA237AAA', file: await fs.readFile('./file/AAA237AAA') },
{ fileName: 'AAA238AAA', file: await fs.readFile('./file/AAA238AAA') },
{ fileName: 'AAA239AAA', file: await fs.readFile('./file/AAA239AAA') },
{ fileName: 'AAA240AAA', file: await fs.readFile('./file/AAA240AAA') },
{ fileName: 'AAA241AAA', file: await fs.readFile('./file/AAA241AAA') },
{ fileName: 'AAA242AAA', file: await fs.readFile('./file/AAA242AAA') },
{ fileName: 'AAA243AAA', file: await fs.readFile('./file/AAA243AAA') },
{ fileName: 'AAA244AAA', file: await fs.readFile('./file/AAA244AAA') },
{ fileName: 'AAA245AAA', file: await fs.readFile('./file/AAA245AAA') },
{ fileName: 'AAA246AAA', file: await fs.readFile('./file/AAA246AAA') },
{ fileName: 'AAA247AAA', file: await fs.readFile('./file/AAA247AAA') },
{ fileName: 'AAA248AAA', file: await fs.readFile('./file/AAA248AAA') },
{ fileName: 'AAA249AAA', file: await fs.readFile('./file/AAA249AAA') },
{ fileName: 'AAA250AAA', file: await fs.readFile('./file/AAA250AAA') },
{ fileName: 'AAA251AAA', file: await fs.readFile('./file/AAA251AAA') },
{ fileName: 'AAA252AAA', file: await fs.readFile('./file/AAA252AAA') },
{ fileName: 'AAA253AAA', file: await fs.readFile('./file/AAA253AAA') },
{ fileName: 'AAA254AAA', file: await fs.readFile('./file/AAA254AAA') },
{ fileName: 'AAA255AAA', file: await fs.readFile('./file/AAA255AAA') },
{ fileName: 'AAA256AAA', file: await fs.readFile('./file/AAA256AAA') },
{ fileName: 'AAA257AAA', file: await fs.readFile('./file/AAA257AAA') },
{ fileName: 'AAA258AAA', file: await fs.readFile('./file/AAA258AAA') },
{ fileName: 'AAA259AAA', file: await fs.readFile('./file/AAA259AAA') },
{ fileName: 'AAA260AAA', file: await fs.readFile('./file/AAA260AAA') },
{ fileName: 'AAA261AAA', file: await fs.readFile('./file/AAA261AAA') },
{ fileName: 'AAA262AAA', file: await fs.readFile('./file/AAA262AAA') },
{ fileName: 'AAA263AAA', file: await fs.readFile('./file/AAA263AAA') },
{ fileName: 'AAA264AAA', file: await fs.readFile('./file/AAA264AAA') },
{ fileName: 'AAA265AAA', file: await fs.readFile('./file/AAA265AAA') },
{ fileName: 'AAA266AAA', file: await fs.readFile('./file/AAA266AAA') },
{ fileName: 'AAA267AAA', file: await fs.readFile('./file/AAA267AAA') },
{ fileName: 'AAA268AAA', file: await fs.readFile('./file/AAA268AAA') },
{ fileName: 'AAA269AAA', file: await fs.readFile('./file/AAA269AAA') },
{ fileName: 'AAA270AAA', file: await fs.readFile('./file/AAA270AAA') },
{ fileName: 'AAA271AAA', file: await fs.readFile('./file/AAA271AAA') },
{ fileName: 'AAA272AAA', file: await fs.readFile('./file/AAA272AAA') },
{ fileName: 'AAA273AAA', file: await fs.readFile('./file/AAA273AAA') },
{ fileName: 'AAA274AAA', file: await fs.readFile('./file/AAA274AAA') },
{ fileName: 'AAA275AAA', file: await fs.readFile('./file/AAA275AAA') },
{ fileName: 'AAA276AAA', file: await fs.readFile('./file/AAA276AAA') },
{ fileName: 'AAA277AAA', file: await fs.readFile('./file/AAA277AAA') },
{ fileName: 'AAA278AAA', file: await fs.readFile('./file/AAA278AAA') },
{ fileName: 'AAA279AAA', file: await fs.readFile('./file/AAA279AAA') },
{ fileName: 'AAA280AAA', file: await fs.readFile('./file/AAA280AAA') },
{ fileName: 'AAA281AAA', file: await fs.readFile('./file/AAA281AAA') },
{ fileName: 'AAA282AAA', file: await fs.readFile('./file/AAA282AAA') },
{ fileName: 'AAA283AAA', file: await fs.readFile('./file/AAA283AAA') },
{ fileName: 'AAA284AAA', file: await fs.readFile('./file/AAA284AAA') },
{ fileName: 'AAA285AAA', file: await fs.readFile('./file/AAA285AAA') },
{ fileName: 'AAA286AAA', file: await fs.readFile('./file/AAA286AAA') },
{ fileName: 'AAA287AAA', file: await fs.readFile('./file/AAA287AAA') },
{ fileName: 'AAA288AAA', file: await fs.readFile('./file/AAA288AAA') },
{ fileName: 'AAA289AAA', file: await fs.readFile('./file/AAA289AAA') },
{ fileName: 'AAA290AAA', file: await fs.readFile('./file/AAA290AAA') },
{ fileName: 'AAA291AAA', file: await fs.readFile('./file/AAA291AAA') },
{ fileName: 'AAA292AAA', file: await fs.readFile('./file/AAA292AAA') },
{ fileName: 'AAA293AAA', file: await fs.readFile('./file/AAA293AAA') },
{ fileName: 'AAA294AAA', file: await fs.readFile('./file/AAA294AAA') },
{ fileName: 'AAA295AAA', file: await fs.readFile('./file/AAA295AAA') },
{ fileName: 'AAA296AAA', file: await fs.readFile('./file/AAA296AAA') },
{ fileName: 'AAA297AAA', file: await fs.readFile('./file/AAA297AAA') },
{ fileName: 'AAA298AAA', file: await fs.readFile('./file/AAA298AAA') },
{ fileName: 'AAA299AAA', file: await fs.readFile('./file/AAA299AAA') },
{ fileName: 'AAA300AAA', file: await fs.readFile('./file/AAA300AAA') },
{ fileName: 'AAA301AAA', file: await fs.readFile('./file/AAA301AAA') },
{ fileName: 'AAA302AAA', file: await fs.readFile('./file/AAA302AAA') },
{ fileName: 'AAA303AAA', file: await fs.readFile('./file/AAA303AAA') },
{ fileName: 'AAA304AAA', file: await fs.readFile('./file/AAA304AAA') },
{ fileName: 'AAA305AAA', file: await fs.readFile('./file/AAA305AAA') },
{ fileName: 'AAA306AAA', file: await fs.readFile('./file/AAA306AAA') },
{ fileName: 'AAA307AAA', file: await fs.readFile('./file/AAA307AAA') },
{ fileName: 'AAA308AAA', file: await fs.readFile('./file/AAA308AAA') },
{ fileName: 'AAA309AAA', file: await fs.readFile('./file/AAA309AAA') },
{ fileName: 'AAA310AAA', file: await fs.readFile('./file/AAA310AAA') },
{ fileName: 'AAA311AAA', file: await fs.readFile('./file/AAA311AAA') },
{ fileName: 'AAA312AAA', file: await fs.readFile('./file/AAA312AAA') },
{ fileName: 'AAA313AAA', file: await fs.readFile('./file/AAA313AAA') },
{ fileName: 'AAA314AAA', file: await fs.readFile('./file/AAA314AAA') },
{ fileName: 'AAA315AAA', file: await fs.readFile('./file/AAA315AAA') },
{ fileName: 'AAA316AAA', file: await fs.readFile('./file/AAA316AAA') },
{ fileName: 'AAA317AAA', file: await fs.readFile('./file/AAA317AAA') },
{ fileName: 'AAA318AAA', file: await fs.readFile('./file/AAA318AAA') },
{ fileName: 'AAA319AAA', file: await fs.readFile('./file/AAA319AAA') },
{ fileName: 'AAA320AAA', file: await fs.readFile('./file/AAA320AAA') },
{ fileName: 'AAA321AAA', file: await fs.readFile('./file/AAA321AAA') },
{ fileName: 'AAA322AAA', file: await fs.readFile('./file/AAA322AAA') },
{ fileName: 'AAA323AAA', file: await fs.readFile('./file/AAA323AAA') },
{ fileName: 'AAA324AAA', file: await fs.readFile('./file/AAA324AAA') },
{ fileName: 'AAA325AAA', file: await fs.readFile('./file/AAA325AAA') },
{ fileName: 'AAA326AAA', file: await fs.readFile('./file/AAA326AAA') },
{ fileName: 'AAA327AAA', file: await fs.readFile('./file/AAA327AAA') },
{ fileName: 'AAA328AAA', file: await fs.readFile('./file/AAA328AAA') },
{ fileName: 'AAA329AAA', file: await fs.readFile('./file/AAA329AAA') },
{ fileName: 'AAA330AAA', file: await fs.readFile('./file/AAA330AAA') },
{ fileName: 'AAA331AAA', file: await fs.readFile('./file/AAA331AAA') },
{ fileName: 'AAA332AAA', file: await fs.readFile('./file/AAA332AAA') },
{ fileName: 'AAA333AAA', file: await fs.readFile('./file/AAA333AAA') },
{ fileName: 'AAA334AAA', file: await fs.readFile('./file/AAA334AAA') },
{ fileName: 'AAA335AAA', file: await fs.readFile('./file/AAA335AAA') },
{ fileName: 'AAA336AAA', file: await fs.readFile('./file/AAA336AAA') },
{ fileName: 'AAA337AAA', file: await fs.readFile('./file/AAA337AAA') },
{ fileName: 'AAA338AAA', file: await fs.readFile('./file/AAA338AAA') },
{ fileName: 'AAA339AAA', file: await fs.readFile('./file/AAA339AAA') },
{ fileName: 'AAA340AAA', file: await fs.readFile('./file/AAA340AAA') },
{ fileName: 'AAA341AAA', file: await fs.readFile('./file/AAA341AAA') },
{ fileName: 'AAA342AAA', file: await fs.readFile('./file/AAA342AAA') },
{ fileName: 'AAA343AAA', file: await fs.readFile('./file/AAA343AAA') },
{ fileName: 'AAA344AAA', file: await fs.readFile('./file/AAA344AAA') },
{ fileName: 'AAA345AAA', file: await fs.readFile('./file/AAA345AAA') },
{ fileName: 'AAA346AAA', file: await fs.readFile('./file/AAA346AAA') },
{ fileName: 'AAA347AAA', file: await fs.readFile('./file/AAA347AAA') },
{ fileName: 'AAA348AAA', file: await fs.readFile('./file/AAA348AAA') },
{ fileName: 'AAA349AAA', file: await fs.readFile('./file/AAA349AAA') },
{ fileName: 'AAA350AAA', file: await fs.readFile('./file/AAA350AAA') },
{ fileName: 'AAA351AAA', file: await fs.readFile('./file/AAA351AAA') },
{ fileName: 'AAA352AAA', file: await fs.readFile('./file/AAA352AAA') },
{ fileName: 'AAA353AAA', file: await fs.readFile('./file/AAA353AAA') },
{ fileName: 'AAA354AAA', file: await fs.readFile('./file/AAA354AAA') },
{ fileName: 'AAA355AAA', file: await fs.readFile('./file/AAA355AAA') },
{ fileName: 'AAA356AAA', file: await fs.readFile('./file/AAA356AAA') },
{ fileName: 'AAA357AAA', file: await fs.readFile('./file/AAA357AAA') },
{ fileName: 'AAA358AAA', file: await fs.readFile('./file/AAA358AAA') },
{ fileName: 'AAA359AAA', file: await fs.readFile('./file/AAA359AAA') },
{ fileName: 'AAA360AAA', file: await fs.readFile('./file/AAA360AAA') },
{ fileName: 'AAA361AAA', file: await fs.readFile('./file/AAA361AAA') },
{ fileName: 'AAA362AAA', file: await fs.readFile('./file/AAA362AAA') },
{ fileName: 'AAA363AAA', file: await fs.readFile('./file/AAA363AAA') },
{ fileName: 'AAA364AAA', file: await fs.readFile('./file/AAA364AAA') },
{ fileName: 'AAA365AAA', file: await fs.readFile('./file/AAA365AAA') },
{ fileName: 'AAA366AAA', file: await fs.readFile('./file/AAA366AAA') },
{ fileName: 'AAA367AAA', file: await fs.readFile('./file/AAA367AAA') },
{ fileName: 'AAA368AAA', file: await fs.readFile('./file/AAA368AAA') },
{ fileName: 'AAA369AAA', file: await fs.readFile('./file/AAA369AAA') },
{ fileName: 'AAA370AAA', file: await fs.readFile('./file/AAA370AAA') },
{ fileName: 'AAA371AAA', file: await fs.readFile('./file/AAA371AAA') },
{ fileName: 'AAA372AAA', file: await fs.readFile('./file/AAA372AAA') },
{ fileName: 'AAA373AAA', file: await fs.readFile('./file/AAA373AAA') },
{ fileName: 'AAA374AAA', file: await fs.readFile('./file/AAA374AAA') },
{ fileName: 'AAA375AAA', file: await fs.readFile('./file/AAA375AAA') },
{ fileName: 'AAA376AAA', file: await fs.readFile('./file/AAA376AAA') },
{ fileName: 'AAA377AAA', file: await fs.readFile('./file/AAA377AAA') },
{ fileName: 'AAA378AAA', file: await fs.readFile('./file/AAA378AAA') },
{ fileName: 'AAA379AAA', file: await fs.readFile('./file/AAA379AAA') },
{ fileName: 'AAA380AAA', file: await fs.readFile('./file/AAA380AAA') },
{ fileName: 'AAA381AAA', file: await fs.readFile('./file/AAA381AAA') },
{ fileName: 'AAA382AAA', file: await fs.readFile('./file/AAA382AAA') },
{ fileName: 'AAA383AAA', file: await fs.readFile('./file/AAA383AAA') },
{ fileName: 'AAA384AAA', file: await fs.readFile('./file/AAA384AAA') },
{ fileName: 'AAA385AAA', file: await fs.readFile('./file/AAA385AAA') },
{ fileName: 'AAA386AAA', file: await fs.readFile('./file/AAA386AAA') },
{ fileName: 'AAA387AAA', file: await fs.readFile('./file/AAA387AAA') },
{ fileName: 'AAA388AAA', file: await fs.readFile('./file/AAA388AAA') },
{ fileName: 'AAA389AAA', file: await fs.readFile('./file/AAA389AAA') },
{ fileName: 'AAA390AAA', file: await fs.readFile('./file/AAA390AAA') },
{ fileName: 'AAA391AAA', file: await fs.readFile('./file/AAA391AAA') },
{ fileName: 'AAA392AAA', file: await fs.readFile('./file/AAA392AAA') },
{ fileName: 'AAA393AAA', file: await fs.readFile('./file/AAA393AAA') },
{ fileName: 'AAA394AAA', file: await fs.readFile('./file/AAA394AAA') },
{ fileName: 'AAA395AAA', file: await fs.readFile('./file/AAA395AAA') },
{ fileName: 'AAA396AAA', file: await fs.readFile('./file/AAA396AAA') },
{ fileName: 'AAA397AAA', file: await fs.readFile('./file/AAA397AAA') },
{ fileName: 'AAA398AAA', file: await fs.readFile('./file/AAA398AAA') },
{ fileName: 'AAA399AAA', file: await fs.readFile('./file/AAA399AAA') },
{ fileName: 'AAA400AAA', file: await fs.readFile('./file/AAA400AAA') },
{ fileName: 'AAA401AAA', file: await fs.readFile('./file/AAA401AAA') },
{ fileName: 'AAA402AAA', file: await fs.readFile('./file/AAA402AAA') },
{ fileName: 'AAA403AAA', file: await fs.readFile('./file/AAA403AAA') },
{ fileName: 'AAA404AAA', file: await fs.readFile('./file/AAA404AAA') },
{ fileName: 'AAA405AAA', file: await fs.readFile('./file/AAA405AAA') },
{ fileName: 'AAA406AAA', file: await fs.readFile('./file/AAA406AAA') },
{ fileName: 'AAA407AAA', file: await fs.readFile('./file/AAA407AAA') },
{ fileName: 'AAA408AAA', file: await fs.readFile('./file/AAA408AAA') },
{ fileName: 'AAA409AAA', file: await fs.readFile('./file/AAA409AAA') },
{ fileName: 'AAA410AAA', file: await fs.readFile('./file/AAA410AAA') },
{ fileName: 'AAA411AAA', file: await fs.readFile('./file/AAA411AAA') },
{ fileName: 'AAA412AAA', file: await fs.readFile('./file/AAA412AAA') },
{ fileName: 'AAA413AAA', file: await fs.readFile('./file/AAA413AAA') },
{ fileName: 'AAA414AAA', file: await fs.readFile('./file/AAA414AAA') },
{ fileName: 'AAA415AAA', file: await fs.readFile('./file/AAA415AAA') },
{ fileName: 'AAA416AAA', file: await fs.readFile('./file/AAA416AAA') },
{ fileName: 'AAA417AAA', file: await fs.readFile('./file/AAA417AAA') },
{ fileName: 'AAA418AAA', file: await fs.readFile('./file/AAA418AAA') },
{ fileName: 'AAA419AAA', file: await fs.readFile('./file/AAA419AAA') },
{ fileName: 'AAA420AAA', file: await fs.readFile('./file/AAA420AAA') },
{ fileName: 'AAA421AAA', file: await fs.readFile('./file/AAA421AAA') },
{ fileName: 'AAA422AAA', file: await fs.readFile('./file/AAA422AAA') },
{ fileName: 'AAA423AAA', file: await fs.readFile('./file/AAA423AAA') },
{ fileName: 'AAA424AAA', file: await fs.readFile('./file/AAA424AAA') },
{ fileName: 'AAA425AAA', file: await fs.readFile('./file/AAA425AAA') },
{ fileName: 'AAA426AAA', file: await fs.readFile('./file/AAA426AAA') },
{ fileName: 'AAA427AAA', file: await fs.readFile('./file/AAA427AAA') },
{ fileName: 'AAA428AAA', file: await fs.readFile('./file/AAA428AAA') },
{ fileName: 'AAA429AAA', file: await fs.readFile('./file/AAA429AAA') },
{ fileName: 'AAA430AAA', file: await fs.readFile('./file/AAA430AAA') },
{ fileName: 'AAA431AAA', file: await fs.readFile('./file/AAA431AAA') },
{ fileName: 'AAA432AAA', file: await fs.readFile('./file/AAA432AAA') },
{ fileName: 'AAA433AAA', file: await fs.readFile('./file/AAA433AAA') },
{ fileName: 'AAA434AAA', file: await fs.readFile('./file/AAA434AAA') },
{ fileName: 'AAA435AAA', file: await fs.readFile('./file/AAA435AAA') },
{ fileName: 'AAA436AAA', file: await fs.readFile('./file/AAA436AAA') },
{ fileName: 'AAA437AAA', file: await fs.readFile('./file/AAA437AAA') },
{ fileName: 'AAA438AAA', file: await fs.readFile('./file/AAA438AAA') },
{ fileName: 'AAA439AAA', file: await fs.readFile('./file/AAA439AAA') },
{ fileName: 'AAA440AAA', file: await fs.readFile('./file/AAA440AAA') },
{ fileName: 'AAA441AAA', file: await fs.readFile('./file/AAA441AAA') },
{ fileName: 'AAA442AAA', file: await fs.readFile('./file/AAA442AAA') },
{ fileName: 'AAA443AAA', file: await fs.readFile('./file/AAA443AAA') },
{ fileName: 'AAA444AAA', file: await fs.readFile('./file/AAA444AAA') },
{ fileName: 'AAA445AAA', file: await fs.readFile('./file/AAA445AAA') },
{ fileName: 'AAA446AAA', file: await fs.readFile('./file/AAA446AAA') },
{ fileName: 'AAA447AAA', file: await fs.readFile('./file/AAA447AAA') },
{ fileName: 'AAA448AAA', file: await fs.readFile('./file/AAA448AAA') },
{ fileName: 'AAA449AAA', file: await fs.readFile('./file/AAA449AAA') },
{ fileName: 'AAA450AAA', file: await fs.readFile('./file/AAA450AAA') },
{ fileName: 'AAA451AAA', file: await fs.readFile('./file/AAA451AAA') },
{ fileName: 'AAA452AAA', file: await fs.readFile('./file/AAA452AAA') },
{ fileName: 'AAA453AAA', file: await fs.readFile('./file/AAA453AAA') },
{ fileName: 'AAA454AAA', file: await fs.readFile('./file/AAA454AAA') },
{ fileName: 'AAA455AAA', file: await fs.readFile('./file/AAA455AAA') },
{ fileName: 'AAA456AAA', file: await fs.readFile('./file/AAA456AAA') },
{ fileName: 'AAA457AAA', file: await fs.readFile('./file/AAA457AAA') },
{ fileName: 'AAA458AAA', file: await fs.readFile('./file/AAA458AAA') },
{ fileName: 'AAA459AAA', file: await fs.readFile('./file/AAA459AAA') },
{ fileName: 'AAA460AAA', file: await fs.readFile('./file/AAA460AAA') },
{ fileName: 'AAA461AAA', file: await fs.readFile('./file/AAA461AAA') },
{ fileName: 'AAA462AAA', file: await fs.readFile('./file/AAA462AAA') },
{ fileName: 'AAA463AAA', file: await fs.readFile('./file/AAA463AAA') },
{ fileName: 'AAA464AAA', file: await fs.readFile('./file/AAA464AAA') },
{ fileName: 'AAA465AAA', file: await fs.readFile('./file/AAA465AAA') },
{ fileName: 'AAA466AAA', file: await fs.readFile('./file/AAA466AAA') },
{ fileName: 'AAA467AAA', file: await fs.readFile('./file/AAA467AAA') },
{ fileName: 'AAA468AAA', file: await fs.readFile('./file/AAA468AAA') },
{ fileName: 'AAA469AAA', file: await fs.readFile('./file/AAA469AAA') },
{ fileName: 'AAA470AAA', file: await fs.readFile('./file/AAA470AAA') },
{ fileName: 'AAA471AAA', file: await fs.readFile('./file/AAA471AAA') },
{ fileName: 'AAA472AAA', file: await fs.readFile('./file/AAA472AAA') },
{ fileName: 'AAA473AAA', file: await fs.readFile('./file/AAA473AAA') },
{ fileName: 'AAA474AAA', file: await fs.readFile('./file/AAA474AAA') },
{ fileName: 'AAA475AAA', file: await fs.readFile('./file/AAA475AAA') },
{ fileName: 'AAA476AAA', file: await fs.readFile('./file/AAA476AAA') },
{ fileName: 'AAA477AAA', file: await fs.readFile('./file/AAA477AAA') },
{ fileName: 'AAA478AAA', file: await fs.readFile('./file/AAA478AAA') },
{ fileName: 'AAA479AAA', file: await fs.readFile('./file/AAA479AAA') },
{ fileName: 'AAA480AAA', file: await fs.readFile('./file/AAA480AAA') },
{ fileName: 'AAA481AAA', file: await fs.readFile('./file/AAA481AAA') },
{ fileName: 'AAA482AAA', file: await fs.readFile('./file/AAA482AAA') },
{ fileName: 'AAA483AAA', file: await fs.readFile('./file/AAA483AAA') },
{ fileName: 'AAA484AAA', file: await fs.readFile('./file/AAA484AAA') },
{ fileName: 'AAA485AAA', file: await fs.readFile('./file/AAA485AAA') },
{ fileName: 'AAA486AAA', file: await fs.readFile('./file/AAA486AAA') },
{ fileName: 'AAA487AAA', file: await fs.readFile('./file/AAA487AAA') },
{ fileName: 'AAA488AAA', file: await fs.readFile('./file/AAA488AAA') },
{ fileName: 'AAA489AAA', file: await fs.readFile('./file/AAA489AAA') },
{ fileName: 'AAA490AAA', file: await fs.readFile('./file/AAA490AAA') },
{ fileName: 'AAA491AAA', file: await fs.readFile('./file/AAA491AAA') },
{ fileName: 'AAA492AAA', file: await fs.readFile('./file/AAA492AAA') },
{ fileName: 'AAA493AAA', file: await fs.readFile('./file/AAA493AAA') },
{ fileName: 'AAA494AAA', file: