add function for reading text file lines
add take-lines function with test from resource file