code: public String getSummaryFromFile(String file, int length) throws IOException
      {
          return getSummary(new FileReader(file), length);
      }
docs: get document summary from a file
  
  @param   file
  @param   length
  @return  String
  @throws  IOException