Update upload.md

added a section under section 4 :

4.1. Implementing functions

a short talk about implementing FileInterface functions and an example.