public void uploadPdfWithProgressCallback() {
System.out.println("uploadPdf(): initializing...");
try {
byte[] data = getBytes("/ml-1m.zip");
ParseFile file = new ParseFile("ml-1m.zip", data);
file.save(new ProgressCallback() {
@Override
public void done(Integer percentDone) {
System.out.println("uploadPdf(): progress " + percentDone + "%");
}