first steps in file upload