upload file using pipe