private void readLines(final BufferedReader reader, final MyObjects myObjects) throws IOException {
    String line;
    while ((line = reader.readLine()) != null) {
      myObjects.addLine(line);
    }
  }