I'm not sure if we want to do this as this spawns a new process for each call. Any alternative implementations? any ideas? I see some approaches for getting nth line here (http://stackoverflow.com/questions/6394951/read-nth-line-of-file-in-nodejs) which might be extended. couple of things to think about,
1. memory footprint
2. turn around time