Main file upload

as described