dump binary file
output csv file