public static void main(String[] args) throws IOException {
InputSource[] sources = new InputSource[args.length];
for (int i = 0; i < args.length; i++)
sources[i] = new InputSource(new File(args[i]).toURL().toExternalForm());
check(sources, new ConsoleErrorReporter(), null);
}