private static Hashtable<String, TestCase> getTests(String solFile) throws IOException {
      RandomAccessFile raf = new RandomAccessFile(new File(solFile), "r");
      Hashtable<String, TestCase> ret = new Hashtable<>();
      
      String questionClassName;
      while ((questionClassName = nextViableLine(raf)) != null) {
         String argtype = nextViableLine(raf);
         String restype = nextViableLine(raf);
         ArrayList<Test> tests = new ArrayList<>();
         
         String l;
         while (!(l = nextImmediateLine(raf)).equals("done")) {
            tests.add(new Test(TypeHelper.scan(argtype, l),
                  TypeHelper.scan(restype, nextImmediateLine(raf))));
         }
         
         ret.put(questionClassName, new TestCase(tests));
      }
      
      return ret;
   }