protected Riddle readFile(String filename) {
      String nono = "";
      Scanner scanner = null;
      riddle = new Riddle();
      ArrayList<String> lines = new ArrayList<String>();
      try {
         scanner = new Scanner(new File(filename));
         while (scanner.hasNextLine()) {
            lines.add(scanner.nextLine());
         }
      } catch (FileNotFoundException e) {
         e.printStackTrace();
      } catch (Exception e) {
         e.printStackTrace();
      } finally {
         if (null != scanner) {
            scanner.close();
         }
      }
      try {
         for (String str : lines) {
            if (str.length() > 0) {
               analyzeLine(str);
            }
            nono += (str + "\n");
         }
         riddle.setNono(nono);
      } catch (Exception e) {
         riddle = null;
         e.printStackTrace();
      }
      return riddle;
   }