Made upload file work