Bind the code to get size of the uploaded document