code: @Override
      public List<MonitorLine> getLastLine(Integer count) throws Exception {
          String line;
          final List<MonitorLine> result = new ArrayList<MonitorLine>();
          BufferedReader in = null;
          try {
              in = new BufferedReader(new FileReader(getFilename()));
              int i = 0;
              line = in.readLine();
              while (line != null) {
                  result.add(new MonitorLine(i, line));
                  i++;
                  line = in.readLine();
              }
          } finally {
              try {
                  if (in != null) {
                      in.close();
                  }
              } catch (IOException ignore) {
              }
          }
          if (result.size() <= count) {
              return result;
          } else {
              return result.subList(result.size() - count, result.size());
          }
      }
docs: Return the last file line
  
  @return The line
  @throws Exception