Added support for binary file exporter and writer
Added test