Added fileUpload function