Implemented data piping to local file in .net version