It's better to use file api than using cat to read a file with node.js