writing partition to binary file - more progress