fixed the upload file class. It now uploads single files and multiple files in an array woot!
updated upload class for multiple and single files