code: private void includeFile(File file)
          throws IOException
      {
          if (!file.exists())
              throw new FileNotFoundException(file.toString());
          
          if (file.isDirectory())
          {
              List list = new List(List.Unordered);       
              String[] ls = file.list();
              for (int i=0 ; i< ls.length ; i++)
                  list.add(ls[i]);
              StringWriter sw = new StringWriter();
              list.write(sw);
              reader = new StringReader(sw.toString());
          }
          else
          {
              reader = new BufferedReader(new FileReader(file));
          }
      }
docs: /* ------------------------------------------------------------