// The condition in the while loop argument reads
// one line but does not save it
while(br.readLine() != null) {
// The next line is read here and is saved.
receiver[count++] = br.readLine()
}
So this will read every other line: odd number lines are read but not saved, even number lines are read and saved. Another problem with this is that an exception will be thrown for files which have an even number of lines.
Some like to write the read operation this way:
String line = br.readLine();
while(line != null) {
receiver[count++] = line;
line = br.readline();
}