Added sample upload files and completed upload function of all file types