File Upload

1st version of function