Added java code to upload a file. Updated readme