code: public static KAFDocument createFromFile(File file) throws IOException {
  	KAFDocument kaf = null;
  	try {
  	    kaf = ReadWriteManager.load(file);
  	} catch(JDOMException e) {
  	    e.printStackTrace();
  	}
  	return kaf;
      }
docs: Creates a new KAFDocument and loads the contents of the file passed as argument
  @param file an existing KAF file to be loaded into the library.