byte[] data = null;
if (html.startsWith("http://")) {
System.out.println("Downloading " + html);
HttpClient httpClient = new HttpClient();
HttpResponse response = httpClient.doGet(html);
data = response.getContent();
} else {
File file = new File(html);
System.out.println("Reading " + file.getAbsolutePath());
data = new byte[(int)file.length()];