Add file upload to sample