Change uploadFile #34

Change how many bytes the uploadFile can upload, fixes #34
Change javadoc.
Remove unused code.