Would be better to use fs.createReadStream() in order to read just the first part of the file.