code: public void load(File file) throws IOException {
          if (!file.exists()) {
              return; // NO-OP: Users may not have the saved file
          }
          if (!file.canRead()) {
              throw new IOException(String.format("Error while reading the file located at %s.\n" +
                      "Make sure you have the read permission at the location specified.", file.getAbsolutePath()));
          }
          
          // Clean the controller first before loading
          queryController.reset();
          
          LineNumberReader reader = new LineNumberReader(new FileReader(file));
          String line = "";
          while ((line = reader.readLine()) != null) {
          	try {
  	            if (isCommentLine(line) || line.isEmpty()) {
  	                continue; // skip comment lines and empty lines
  	            }
  	            if (line.contains(QUERY_GROUP)) {
  	                // The group ID is enclosed by a double-quotes sign
  	                String groupId = line.substring(line.indexOf("\"")+1, line.lastIndexOf("\""));
  	                readQueryGroup(reader, groupId);
  	            } else if (line.contains(QUERY_ITEM)) {
  	                // The query ID is enclosed by a double-quotes sign
  	                String queryId = line.substring(line.indexOf("\"")+1, line.lastIndexOf("\""));
  	                readQueryContent(reader, "", queryId);
  	            } else {
  	            	throw new IOException("Unknown syntax: " + line);
  	            }
          	} catch (Exception e) {
          		throw new IOException(String.format("Invalid syntax at line: %s", reader.getLineNumber()), e);
          	}
          }
      }
docs: The load/write operation
  
  @param file
  The target file object from which the saved queries are loaded.
  @throws IOException