code: public static FileInputStream getInputStreamByClass(Class<?> koanClass) {
  
          FileInputStream in = null;
          try {
              in = new FileInputStream(getKoanFileLocation(koanClass));
          } catch (FileNotFoundException e) {
              e.printStackTrace();
          }
          return in;
      }
docs: Gets an input stream by class.
  
  @param koanClass the koan class
  @return the input stream relating to the class file