adds first version of file upload