Adding readFileByLine function to support multiple inputFiles

Signed-off-by: Chris <cdesch@gmail.com>