Why if you do:
for (var i = 0; i < 5; i++) {
fs.readFile('file' + i, function(err, data) {
console.log('file: ', data);
});
}
you get different results each time?
I'm guessing it has something to do with node's "async" Event Loop but not really sure how this works.