private static void print(String prefix, WrapperLoader<?> loader) throws FileNotFoundException, NoSuchMethodException {
		PrintWriter writer = null;
		try {
			final File output = new File("output" + File.separator + prefix + loader.getClass().getDeclaredMethod("load", int.class).getReturnType().getSimpleName().toLowerCase() + /*"-" + loader.version +*/ ".txt");
			writer = new PrintWriter(output);
			//writer.println("Version: " + loader.version);
			writer.println("Generated: " + new Date().toString());
			writer.println();

			for (int i = 0; i < 0x20000; i++) {
				if (!loader.canLoad(i)) {
					continue;
				}

				try {
					writer.println(loader.load(i));
				} catch (IllegalArgumentException e) {
					if (!e.getMessage().equals("Bad id") && !e.getMessage().equals("Empty")) {
						throw e;
					}
				}
			}

		} finally {
			if (writer != null) {
				writer.close();
			}
		}
	}