move getLines from utils to files