node.js implement split command for split text file in specific line