in reading loop what you were doing is reading the file until the buffereReader.nextLine() exists rather than doing this
you should just loop for about 8 iteration and then in these loop read from bufferedReader.
by this you will be able to read 8 lines.