add a wrapper to read lines from text files

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>