The beginning of introducing the upload file code
Not much luck with the picture upload logic