use pipes to copy files once they are finished uploading