main file upload

this contains the main