refactor: getRawLines