Specify maximum lines to read