implemented writing to a filestream data output
implemented writing to a file for data output
Revert "implemented writing to a file for data output"

This reverts commit 50ca1924bf95959fe96a39cda06ae1e11b7d8715.
added support for file destination for data output